Ryan Beck 1 year ago
parent
commit
5476987558
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      transcode.sh

+ 2
- 1
transcode.sh View File

@ -227,7 +227,8 @@ do
#UPLOAD AND REMOVE THE TRANSCODED FILE #UPLOAD AND REMOVE THE TRANSCODED FILE
if [ $( echo "$HostName"|tr [a-z] [A-Z] ) != "LOCALHOST" ] if [ $( echo "$HostName"|tr [a-z] [A-Z] ) != "LOCALHOST" ]
then then
scp "$workDIR/$fileNAME" $HostName:"$( echo $filePATH | sed "s/[][!@#$%^&*( ;)]/\\\&/g" )"
#scp "$workDIR/$fileNAME" $HostName:"$( echo $filePATH | sed "s/[][!@#$%^&*( ;)]/\\\&/g" )"
scp "$workDIR/$fileNAME" $HostName:"$filePATH"
else else
rsync -a --progress "$workDIR/$fileNAME" "$filePATH" rsync -a --progress "$workDIR/$fileNAME" "$filePATH"
fi fi

Loading…
Cancel
Save