Quote:
Originally Posted by
vgersh99
find /path/to/starting/directory -type f > outputfile
You have to specify some action for "find". Many modern "find"s (including the AIX v5.3 i'm working on) imply "-print" if nothing else is specified, but that is only silently tolerating faulty input. All of the following lines would work regardless of the "find" in question being a "classical" (unassuming) or a "modern" one:
find /path/to/starting/directory -print > outputfile
find /path/to/starting/directory -ls > outputfile
find /path/to/starting/directory -exec ls -l {} \; > outputfile
etc.
bakunin