Thursday, June 2, 2011

Create a zip from a m3u playlist

grep -v "#" test.m3u | zip -j test -@ -

"-v #" is used to discard lines starting with # (comments maybe...)
-@ is to get input from the file, here -, i.e. stdin, i.e. the output of grep
-j is to junk the path and store only the file

No comments:

Post a Comment