Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- for i in *
- do
- if [ -s $i ]; then
- echo "$i is a file and the size is greater than zero."
- else
- echo "$Deleting now "
- rm -rf $i
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement