Staubgeborener / Klipper-Backup

Klipper-Backup is a script for manual or automated Klipper GitHub backups. It's Lightweight, pragmatic and comfortable.
https://klipperbackup.xyz
295 stars 57 forks source link

Incremental local copy with rsync #19

Closed Tarakesh83 closed 1 year ago

Tarakesh83 commented 1 year ago

Script uses cp -r to copy files to the git directory. This always copies all files and overwrites existing ones instead of just the changed ones adding unneeded wear to sd-cards instead rsync -a should be used. This only copies actually changed/new files. If one wants to be paranoid rsync -a --checksum could be used so every file is actually checkum compared.

Staubgeborener commented 1 year ago

Thanks for the hint, I will think about it and maybe patch it in the next weeks. You can also create a PR anytime.