cleanup script needed
Guy Harris
guy at auspex.auspex.com
Thu May 11 05:53:02 AEST 1989
> find DIR -name 'filename' -ls
>
>To get a directory listing (is the -ls flag standard or just a
>SunOS'ism?).
The answer to the question is "no" - it's neither standard, nor is it a
SunOSism. It's a BSDism (which was folded into the S5-based "find"s in
later SunOS releases). If you don't have it, you may have "xargs",
which can bundle up the output of "find" and run one "ls" command for
every N files, not just for every file.
>Find is one of the most powerful Unix utilities, but has too many
>command-line switches! This causes it to be mis-used or never-used
>by a lot of people who really need such a utility.
Or, to quote (at least some versions of) the man page:
BUGS
The syntax is painful.
More information about the Comp.unix.questions
mailing list