Last change
on this file since 37237 was 37237, checked in by davidb, 15 months ago |
Changed to while-loop
|
-
Property svn:executable
set to
*
|
File size:
797 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | #rclone sync -i "gdrive-davidb:research/projects/InterMusE-project.lnk/Digitised materials ready for digital archive/InterMusE_Images" InterMusE_Images
|
---|
4 |
|
---|
5 | #for n in 1 2 3 4 5 6 7 8 9 \
|
---|
6 | # 10 11 12 13 14 15 16 17 18 19 \
|
---|
7 | # 20 21 22 23 24 25 26 27 28 29 ; do
|
---|
8 | # echo "----"
|
---|
9 | # echo "Rclone sync HMS_$n"
|
---|
10 | # echo "----"
|
---|
11 | # rclone sync "gdrive-davidb:research/projects/InterMusE-project.lnk/Digitised materials ready for digital archive/InterMusE_Images/HMS_$n" InterMusE_Images/HMS_$n
|
---|
12 | #
|
---|
13 | #done
|
---|
14 |
|
---|
15 |
|
---|
16 | n=1
|
---|
17 | while [ $n -ne 103 ] ; do
|
---|
18 | echo "----"
|
---|
19 | echo "Rclone sync HMS_$n"
|
---|
20 | echo "----"
|
---|
21 | rclone sync "gdrive-davidb:research/projects/InterMusE-project.lnk/Digitised materials ready for digital archive/InterMusE_Images/HMS_$n" InterMusE_Images/HMS_$n
|
---|
22 |
|
---|
23 | n=$(($n+1))
|
---|
24 | done
|
---|
25 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.