2ck

mydu.sh

2ck
Apr 29th, 2012
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.13 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. if [ $1 ] ; then
  4.     dir=$1
  5. else
  6.     dir='.'
  7. fi
  8. /usr/bin/du -k -d 1 $dir | sort -nr | /usr/bin/perl $HOME/bin/dubar.pl
Advertisement
Add Comment
Please, Sign In to add comment