add icrc-sync
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 11s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 11s
This commit is contained in:
parent
6ac50ad8ea
commit
6f3a4954c4
1 changed files with 10 additions and 0 deletions
10
icrc-sync
Executable file
10
icrc-sync
Executable file
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
dir=/mnt/c/Users/A090964/vcs/
|
||||||
|
repolist=$(ssh icrcnb "cd $dir; ls -1")
|
||||||
|
echo $repolist
|
||||||
|
|
||||||
|
cd ~/vcs
|
||||||
|
for repo in $repolist; do
|
||||||
|
rsync -av --delete icrcnb:${dir}/${repo}/ ~/vcs/icrc-${repo}
|
||||||
|
done
|
||||||
Loading…
Add table
Add a link
Reference in a new issue