All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 11s
10 lines
202 B
Bash
Executable file
10 lines
202 B
Bash
Executable file
#!/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
|