dd388 / crals

Community Resource for Archivists and Librarians Scripting
24 stars 5 forks source link

List all files/folders and write out to external text file #7

Closed bertramlyons closed 8 years ago

bertramlyons commented 8 years ago

ls -alR /set/your/path/here > /set/your/output/path/inventory.txt

This is great way to extract a list of files/directories (as well as filesystem data about the files/directories) to a "space" separated text file that you can parse separately from the CLI interface.

dd388 commented 8 years ago

Also excellent. Thanks for the suggestion!

dd388 commented 8 years ago

Added via https://github.com/dd388/crals/commit/a7d9241f1facfd9a94e6eeec1f98acfe946538f8