refactor: feel more like $HOME

This commit is contained in:
Michele Cereda
2023-05-09 00:20:22 +02:00
parent eee1892efc
commit acfffeb161
5 changed files with 58 additions and 24 deletions

View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
rsync /data/ nas.lan:/data/ \
--archive --copy-links --protect-args --delete \
--acls --xattrs --fake-super \
--partial --append-verify \
--compress --sparse --no-motd \
--human-readable --no-inc-recursive --info="progress2" -vv \
--exclude ".terraform*" --exclude "obsidian" \
--backup --backup-dir "changes_$(date +'%F_%H-%m-%S')" --exclude "changes_*" \
| grep -Ev -e uptodate -e "/$"