updated by /home/nico/bin/sync-all-repos on nb2

This commit is contained in:
Nico Schottelius 2021-04-05 16:46:58 +02:00
parent 2f33a5fd8b
commit e050618203
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ fi
bfile="$(basename "$file")"
scp -r "$file" "${host}:${dir}"
ssh "$host" "chmod a+r \"$dir/$bfile\""
ssh "$host" "chmod a+r -R \"$dir/$bfile\""
if [ "$delete_after" ]; then
rm -f "$file"