>>>>> "Andrew" == Andrew Brookins <[email protected]> writes:
Andrew> find . -empty -maxdepth 1 -exec rm {} \;
Beware. -empty is a stupid GNUism because the GNU people were
too lazy to type "-size 0".
The *real* find is documented in:
http://opengroup.org/onlinepubs/007908799/xcu/find.html
"GNU - because, hey, WHO THE F CARES about portability..."
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug