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.
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.