rendered paste body#-(root@node0)-(/opt/shoutcast)-##-(0)> cat make_pls.sh#!/bin/shINCOMING=/opt/shoutcast/incomingDIR=/opt/shoutcast/contentcd $INCOMING && ls | while read line; do NEW=`echo "$line" |sed 's/\ /_/g' | sed 's/\$//g' | sed 's/\?//g' | sed 's/\&//g' | sed 's/\*//g' | sed 's/(/-/g' | sed 's/)/-/g' | sed 's/,//g' | sed 's/%//g'` && mv "$line" $NEWdone chmod 644 * &&echo "" > /opt/shoutcast/sc_trans/playlist.txt &&mv $INCOMING/* $DIR/ls $DIR | while read line; do `echo /opt/shoutcast/content/$line >> /opt/shoutcast/sc_trans/playlist.txt` doneSC_PID=`pgrep sc_trans_linux`kill -HUP $SC_PID