Nice and Easy Playlist Maker Script with full paths

Just for mp3’s but this works well for Audacious, so might work well for other players too….

It’s a bash script, let’s call it so copy the code and make sure you make it executable.

To run it, you simply need to feed the script a directory location and filename and it will produce a playlist you can put anywhere on the same system:

This points the script at ~/Music and names the playlist music.m3u (which gets saved in your current directory). It will give you full paths to each file, for all mp3 files, recursively. You can of course expand the script by running the line several times and hard coding the directories and filenames, so you can easily update static playlists for specific directories that you might add to regularly.

Leave a Reply

Your email address will not be published. Required fields are marked *