Fix nas script
This commit is contained in:
parent
fc4c843b24
commit
76fdc8f43b
@ -2,11 +2,7 @@
|
||||
|
||||
REMOTE_LOCATION=/media/family_nas/Leon/Mediafarm/Youtube-Archive
|
||||
|
||||
mv music/ $REMOTE_LOCATION
|
||||
mv videos/ $REMOTE_LOCATION
|
||||
mv alreadydownloaded*.txt $REMOTE_LOCATION
|
||||
|
||||
# robocopy music\ Y:\Leon\Mediafarm\Youtube-Archive\music\ /e /z /j /xo /move
|
||||
# robocopy videos\ Y:\Leon\Mediafarm\Youtube-Archive\videos\ /e /z /j /xo /move
|
||||
# robocopy . Y:\Leon\Mediafarm\Youtube-Archive\ alreadydownloaded*.txt /z /im
|
||||
cp -u alreadydownloaded.txt $REMOTE_LOCATION
|
||||
rsync -auv --remove-source-files music/ "$REMOTE_LOCATION"/music
|
||||
rsync -auv --remove-source-files videos/ "$REMOTE_LOCATION"/videos
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user