Created
February 22, 2023 01:42
-
-
Save TheyCallMeLinux/5a12fb06d9d3ffd52c0814970e5f1a14 to your computer and use it in GitHub Desktop.
VLC make playlist m3u from current pwd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find "$PWD" -type f \( -name '*.webm' -o -name '*.mp4' -o -name '*.avi' \) -printf "#EXTINF:%s,%f\n%P\n" | sed 's/ /%20/g;s/\[/%5B/g;s/\]/%5D/g' > playlist.m3u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment