find /path/ -size 0 | perl -e 'while(<>) { chop; s/^(.*\s.*)$/\"$1\"/; + print "$_\n"; }' | xargs -n <whatever-filecount-limit> rm
-M
Free your mind
In reply to Re^5: UNIX command - remove 0 byte file
by Moron
in thread UNIX command - remove 0 byte file
by darrengan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |