Jump to content
3 posts in this topic

Recommended Posts

Hi there!

 

For years I've been typing into an Excel file the names of my MP3 collection.  After 10 years though, I have to admit that I'm really tired of the tedium.

 

Does anyone know of a way to take the list of filenames in a folder and make them into an Excel spreadsheet?  I can merge it with my main spreadsheet later... it'd probably save me a few solid days of work per year!

 

Thanks in advance!

  • 2 weeks later...
In Terminal type:

 

1. ls -l > myfile.csv

 

2. Load myfile in Excel

 

3. Done

 

 

See "man ls" for format options of the ouput file.

 

ls -l | cut -d " " -f13 > myfile.csv if you only want the file name.

×
×
  • Create New...