G'day, in the world of the 'other OS' (Win/DOS) I frequently used this command line (run from the desired folder directory): tree /f /a >c:\test.txt This produced a text file containing a folder+file list of the contents of an drive or folder. Is there a simple equivalent terminal command in linux that would do the same thing? Thank you.
Code: tree -f -a > test.txt I can't remember if the tree program is installed by default. If you don't have it it can be installed by doing... Code: sudo apt-get install tree
tree -f -a > test.txt
sudo apt-get install tree
Cheesemill
Thank you. Works well.
View Tag Cloud
Ubuntu Forums Code of Conduct