home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.suse      Suse is actually not that bad      138,051 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 136,159 of 138,051   
   Sidney_Kotic to All   
   Re: bash script   
   21 Feb 17 17:26:11   
   
   From: kant@have.it   
      
   This works, all I have to do is throwaway the original file name.  The ID3 is   
   still there though.  The original 0-Playit.m3u file is created by a very ugly   
   script that I'm to embarrassed to show.   
      
   # set -x   
   cat /home/Shared/Music/0-Playit.m3u | \   
            while read aline ; do  \   
                    b=`echo "cp -v /home/Shared/Music" $aline \   
                    | sed "s/\"/ /1" \   
                    | sed "s/Music ./Music/1" \   
                    | sed "s/-v /-v \"/1" \   
                    | sed "s/.mp3/.mp3\"/1"`   
                    c=`expr $c \+ 1` \   
                    d=$c".mp3"   
                    echo $b $d >> flim   
            done   
      
   Then chmod flim and run it from the directory where I want stuff to end up.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca