Results 1 to 3 of 3

Thread: filenames to text file

  1. #1
    Join Date
    Nov 2009
    Location
    Croatia/Hrvatska
    Beans
    492
    Distro
    Ubuntu 12.10 Quantal Quetzal

    filenames to text file

    this is what i want to do.. i have a folder full of music and i want to print the names of the mp3s... is there an app that does this or can i automate this somehow (i want to select file, f2, ctrl+c, and paste in text file)...

    i want to do this because i'm a dj and i want to put my music on usb stick and have the names of the songs printed on a piece of paper...

    i did this by opening a playlist in gedit and deleting unnecessary text (odd rows), but that takes long time...

  2. #2
    Join Date
    Dec 2009
    Beans
    6,549

    Re: filenames to text file

    In it's simplest form you could open a Terminal and issue something in the form of:

    ls /path/to/music/folder > /path/to/destination/playlist.txt

    So for example if I wanted to create a text file of the contents of my Documents folder I would issue:

    ls /home/morbius1/Documents > /home/morbius/doclist.txt

    There are many variations and different ways to do this and I'm sure you're about to get many more given the talent on this forum.

  3. #3
    Join Date
    Nov 2009
    Location
    Croatia/Hrvatska
    Beans
    492
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: filenames to text file

    nice! thanks!

    i found something similar to this, but just for winblows, i was missing ls command...
    tnx morbius

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •