Fix nas script
This commit is contained in:
parent
fc4c843b24
commit
76fdc8f43b
@ -1,12 +1,8 @@
|
|||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
|
|
||||||
REMOTE_LOCATION = /media/family_nas/Leon/Mediafarm/Youtube-Archive
|
REMOTE_LOCATION=/media/family_nas/Leon/Mediafarm/Youtube-Archive
|
||||||
|
|
||||||
mv music/ $REMOTE_LOCATION
|
cp -u alreadydownloaded.txt $REMOTE_LOCATION
|
||||||
mv videos/ $REMOTE_LOCATION
|
rsync -auv --remove-source-files music/ "$REMOTE_LOCATION"/music
|
||||||
mv alreadydownloaded*.txt $REMOTE_LOCATION
|
rsync -auv --remove-source-files videos/ "$REMOTE_LOCATION"/videos
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user