| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/bin/bash | |
| 2 | |
| 3 cd /home/rsync/subscription/ | |
| 4 | |
| 5 for i in $(ls) | |
| 6 do | |
| 7 cd $i | |
| 8 hg pull && hg update | |
| 9 cd - | |
|
Wladimir Palant
2013/11/12 13:04:03
These four commands can be replaced by one:
hg pu
christian
2013/11/12 16:06:06
Done.
| |
| 10 done | |
|
Wladimir Palant
2013/11/12 13:04:03
I thought by "batch script" you actually meant Pyt
christian
2013/11/12 16:06:06
I think i sad "bash script" but sometimes hard und
| |
| 11 | |
| OLD | NEW |