At 19.37 6/25/97, Akira wrote: >The file operator '-s' returns the number of files if tested against a >directory, and the size in bytes if tested against a file. > >So, the following will check both the number of files in a given directory, >plus the "size" of the directory in bytes: That's very nice ... I always forget about file test operators. Don't forget you'd still have to iterate subdirectories if you want the entire size. -- Chris Nandor pudge@pobox.com http://pudge.net/ %PGPKey=('B76E72AD',[1024,'08 24 09 0B CE 73 CA 10 1F F7 7F 13 81 80 B6 B6']) ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch