m3u copy shell script. (need help :)

2003-10-17 Thread LeVA
Hello! I wanted to create a tiny script which reads a .m3u file, and then copies the real mp3 files which has an entry in the m3u file to a given dir. Here is my idea: -- # Script # -- #!/bin/bash TMP=/tmp/cpm3u_tmp cat $1 | grep -v --regexp=# $TMP for line in $($TMP); do

Re: m3u copy shell script. (need help :)

2003-10-17 Thread Matthias Hentges
Am Fre, 2003-10-17 um 18.54 schrieb LeVA: Hello! I wanted to create a tiny script which reads a .m3u file, and then copies the real mp3 files which has an entry in the m3u file to a given dir. Here is my idea: -- # Script # -- #!/bin/bash TMP=/tmp/cpm3u_tmp cat $1