Improve intelligibility
This commit is contained in:
parent
134dcc78e1
commit
ddee667ecf
1 changed files with 9 additions and 1 deletions
|
@ -218,7 +218,15 @@ files=(
|
||||||
)
|
)
|
||||||
|
|
||||||
for file in "\${files[@]}"; do
|
for file in "\${files[@]}"; do
|
||||||
rsync -axRS --delete --backup --backup-dir "\$mount_point/Versioning" --suffix="\$(date +".%F-%H%M%S")" "\$file" "\$mount_point"
|
rsync \
|
||||||
|
-axRS \
|
||||||
|
--backup \
|
||||||
|
--backup-dir \
|
||||||
|
"\$mount_point/Versioning" \
|
||||||
|
--delete \
|
||||||
|
--suffix="\$(date +".%F-%H%M%S")" \
|
||||||
|
"\$file" \
|
||||||
|
"\$mount_point"
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ "\$(find "\$mount_point/Versioning" -type f -ctime +90)" != "" ]; then
|
if [ "\$(find "\$mount_point/Versioning" -type f -ctime +90)" != "" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue