nsbin/icrc-sync

10 lines
202 B
Text
Raw Normal View History

2025-11-14 11:17:47 +01:00
#!/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