[mdlug] directory print out
Ingles, Raymond
Raymond.Ingles at compuware.com
Mon Jan 13 09:49:51 EST 2014
> From: Michael Mikowski
> List only file paths:
> find ./ -type f > all_files.txt
*Slightly* simpler is "ls -R" ('recursive'), which will produce a list of the files in a directory, and then in each subdirectory below that.
------------
$ ls -R /tmp
/tmp:
orbit-sorceror progress pulse-PKdhtXMmr18n ssh-OZoovNW7BVKi
/tmp/orbit-sorceror:
ls: cannot open directory /tmp/pulse-PKdhtXMmr18n: Permission denied
/tmp/ssh-OZoovNW7BVKi:
agent.1973
------------
More information about the mdlug
mailing list