a
This commit is contained in:
parent
63b93aec1c
commit
f1c2292ceb
@ -42,4 +42,4 @@ rsync -vP -a "${bdir}"/ "${sshLoc}:backup/rsync/${servername}/"
|
||||
rm -rfv "${bdir}/"*
|
||||
|
||||
# delete older than 2 days since there's already snapshots
|
||||
ssh ${sshLoc} "find backup/rsync/$servername/ -type f -atime +2 -delete; find backup/rsync/$servername/ -type d -empty -delete"
|
||||
ssh "${sshLoc}" "find backup/rsync/$servername/ -type f -atime +2 -delete; find backup/rsync/$servername/ -type d -empty -delete"
|
||||
|
Loading…
x
Reference in New Issue
Block a user