Staubgeborener / Klipper-Backup

Klipper backup script for manual or automated GitHub backups. Lightweight, pragmatic and comfortable.
https://klipperbackup.xyz
271 stars 52 forks source link

Incremental local copy with rsync #19

Closed Tarakesh83 closed 10 months ago

Tarakesh83 commented 10 months 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 10 months 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.