in reply to Re: finding top 10 largest files
in thread finding top 10 largest files
Purists may want to use File::Find instead of find.
Also, people who don't like to write horrible crash-prone and security-holed scripts might like to use the -print0 action when backticking (or "open-to-pipe"ing) find commands, coupled, of course with local $/ = "\0";.
Oh, likewise, if you're finding into a xargs call... it's always a good idea to find ... -print0 | xargs -0 .... Anybody ever think that there should be a shellmonks?
------------ :Wq Not an editor command: Wq
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: finding top 10 largest files
by flyingmoose (Priest) on Feb 03, 2004 at 02:36 UTC |