Friday, 20 October 2017

create a playlist file from the linux command line

Here's a quick way to make a .m3u file from the linux command line for a bunch of folders of videos.

navigate to the top folder that contains all your sub-folders of videos and type the following command.

find -type f -iname "*.avi" > playlist.m3u

I'll usually open the .m3u after and add any global path names that happen at the beginning of the entries.

1 comment:

  1. After all, I had a problem with opening a video file, I even thought to reinstall my whole system. But it turned out that, the trouble was in the other thing. I knew about this when I discovered website where discribes how to open mpg file https://wikiext.com/mpg. You may use it too, if there will be some troubles with opening files. Anyway it will useful to know for you.

    ReplyDelete