Get list of files in a directory tree
If you ever want to get a list of all the files in a directory tree and export that list to a file.
ls -1 -R <dir> >> <file>
Written by James Barnett
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Linux
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#