Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- !/bin/bash
- DIR="$1/*"
- MIN=$2
- for dir in $DIR
- do
- if [[ -d $dir && $(du -s $dir | cut -f1) -lt $MIN ]]
- then
- echo rm -r $dir
- fi
- done
- bash "scriptname" $1 $2
- bash meetings . 5000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement