I am using Ubuntu 11.10 (I don't think that really matters) with Bash.
How can I make a music playlist out of a .txt
file? It is a command but I forgot it. I would appreciate it if someone would write a tutorial.
I am using Ubuntu 11.10 (I don't think that really matters) with Bash.
How can I make a music playlist out of a .txt
file? It is a command but I forgot it. I would appreciate it if someone would write a tutorial.
You have to go to the folder of the music, than type:
The
.txt
file can be named what ever you want. Thels
uses all the files in the folder, listing them and the>
redirects the command to a.txt
. Than press Enter or Return and that's it. If you are using mplayer for example, you typeThere are many playlist formats.
M3U is a simple plain text file format for playlists. Where each line is a location (this can be a relative path, an absolute path or a URL). Example (a_playlist.m3u):
With mplayer I could play the above like so:
for other extension just change
*.ogg
example for mp3*.ogg
to*.mp3