rc

Fix bug in download script

Author
Maarten Vangeneugden
Date
Sept. 14, 2023, 2:33 p.m.
Hash
9a4fc719619aae20808026a8471a3c42bc6db3ce
Parent
262bf55ef115578d35292641da32c683d78c1239
Modified file
download-changes.sh

download-changes.sh

4 additions and 4 deletions.

View changes Hide changes
1
1
rsync -r -e 'ssh -p 1111' -a --delete --partial --info=stats1,progress2 maarten@maartenv.be:/home/maarten/backup/shared/planning shared/planning/ 
2
-
+
2
3
3
echo -e "Retrieving weekly folder from HQ:"
4
4
rsync -r -e 'ssh -p 1111' -a --delete --partial --info=stats1,progress2 maarten@maartenv.be:/home/maarten/backup/shared/weekly shared/weekly/ 
5
-
+
5
6
6
echo -e "Retrieving IDLab folder from HQ:"
7
7
rsync -r -e 'ssh -p 1111' -a --delete --partial --info=stats1,progress2 maarten@maartenv.be:/home/maarten/backup/IDLab IDLab/ 
8
-
+
8
9
9
echo -e "Updating all repositories: "
10
10
cd ~/Repositories
11
-
for directory in */ ; do
+
11
for directory in */ ; do
12
12
	cd $directory
13
13
	git pull
14
14
	cd ..
15
15
done
16
16
17
17
cd ~
18
18