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.
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.