move not copy

This commit is contained in:
rootzoll
2018-09-15 16:00:41 +02:00
parent dfc3645195
commit a9c5a72aee

View File

@@ -149,10 +149,10 @@ if [ ${finalSize} -lt ${targetSize} ]; then
else else
# Download worked # Download worked
echo "*** Moving/Copying Files ***" echo "*** Moving Files ***"
echo "START" echo "START"
date +%s date +%s
sudo cp -r ${targetPath} /mnt/hdd/${network} sudo mv ${targetPath} /mnt/hdd/${network}
echo "OK" echo "OK"
date +%s date +%s