PDA

View Full Version : [ubuntu] Way to list all file names on a DVD?



paker
August 18th, 2009, 05:35 PM
A data DVD has folders and subfolders. Is there a way to see (list or print) all files without clicking on individual folder and subfolder? Thanks.

wizard10000
August 18th, 2009, 05:53 PM
A data DVD has folders and subfolders. Is there a way to see (list or print) all files without clicking on individual folder and subfolder? Thanks.

Sure :)

From a terminal window you'd change to the directory you want listed and type


ls -R

You could even redirect the output to a text file and then read or print that.


ls -R > /path/to/filename.txt

If you read the man page for ls you'll find you can really customize the output if you want.

cheers -

PGScooter
August 18th, 2009, 07:49 PM
I like wizard's way better, but just to give you another option:

find

philinux
August 18th, 2009, 07:54 PM
A data DVD has folders and subfolders. Is there a way to see (list or print) all files without clicking on individual folder and subfolder? Thanks.

In nautlilus change to the view from icon to list.

paker
August 19th, 2009, 03:17 AM
Thanks. "ls -R > /pathname/to/filename.txt" worked beautifully. Actually, I used filename.ods for spreadsheet format. Thanks a lot folks.