Changed dir into $DIR
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
parent
4fc5bd0223
commit
f245676926
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
source ~/.password
|
source $HOME/.password
|
||||||
mkdir -p ~/Movies/{Anime,Videos}
|
mkdir -p ~/Movies/{Anime,Videos}
|
||||||
mkdir -p ~/Music
|
mkdir -p ~/Music
|
||||||
|
|
||||||
@ -12,6 +12,9 @@ mkdir -p ~/Music
|
|||||||
if [ -e /mnt/Synology/Systems ]
|
if [ -e /mnt/Synology/Systems ]
|
||||||
then
|
then
|
||||||
echo "Starting $(date)" > ~/.cache/.logSynology
|
echo "Starting $(date)" > ~/.cache/.logSynology
|
||||||
sudo rsync -r --bwlimit=1024 --update --progress /usr/mega/ /mnt/Synology >> ~/.cache/.logSynology
|
sudo rsync -r --bwlimit=512 --update --progress /usr/mega/ /mnt/Synology >> ~/.cache/.logSynology
|
||||||
|
rsync -r --bwlimit=512 --update --progress \
|
||||||
|
/home/yorune/Documents/Mega-Documents/Magisterka-Marcin/ \
|
||||||
|
~/Documents/Collage/Magisterka-Marcin
|
||||||
echo "Ending $(date)" >> ~/.cache/.logSynology
|
echo "Ending $(date)" >> ~/.cache/.logSynology
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user