chore: import notes from an old repository

This commit is contained in:
Michele Cereda
2024-06-15 18:48:34 +02:00
parent a65ba478ba
commit ecde1dee42
22 changed files with 274 additions and 13 deletions

14
snippets/rsync.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env sh
rsync -AELPXansvvz --append-verify --delete \
--fake-super --no-i-r --no-motd --exclude '@eaDir' --exclude "changes_*" \
"synology.lan:/volume1/vault/" \
"./" \
| grep -Ev -e uptodate -e "/$"
rsync -vv --append-verify --delete --executability --partial --progress --dry-run \
--archive --acls --xattrs --human-readable --sparse --copy-links --preallocate \
--fake-super --no-inc-recursive --no-motd --exclude '@eaDir' --compress --secluded-args \
--backup --backup-dir="changes_$(date +'%F_%H-%m-%S')" --exclude "changes_*" \
"synology.lan:/volume1/vault/" \
"./"