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
if [ $( echo "$HostName"|tr [a-z] [A-Z] ) != "LOCALHOST" ]
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
rsync -a --progress "$workDIR/$fileNAME" "$filePATH"
fi

Loading…
Cancel
Save