Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 2599  / 2 Years ago, fri, june 17, 2022, 5:52:42

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.


More From » bash

 Answers
6

You have to go to the folder of the music, than type:



ls > music.txt


The .txt file can be named what ever you want. The ls 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 type



mplayer -playlist music.txt

[#40575] Sunday, June 19, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
admin

Total Points: 459
Total Questions: 112
Total Answers: 109

Location: Equatorial Guinea
Member since Sun, Feb 14, 2021
3 Years ago
;