rsync seems to copy everything in /usr every time
[SOLVED] i can run rsync again just 5 seconds after running it, and it seems to copy everything in /usr over. do things in /usr change that fast that rsync needs to copy the contecnts each time?
EDIT: the destination i was copying to was on an NTFS partition. looks like ext4 and ntfs do not play nice with each other when it comes to file permissions. i changed my destination to be on an ext4 partition and rsync is working as expected.
Edited 5 Jul 2020. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 1 · 60% up
- Kind
- Text
- ID
- hjoy96
10 comments
No. Re-check your settings/options.
Give your rsync command you run, please.
How do you know it's copying and not just checking for changes? /usr is a big folder...
oh maybe. is that the output i am watching with the -v option? i thought those were files being copied or deleted.
Deleted before we saved it.
here is the command I run
sudo rsync -aAXHv --delete --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found","/home/*/.thumbnails/*","/home/*/.cache/mozilla/*","/home/*/.cache/chromium/*","/home/*/.cache/thunderbird/*","/home/*/.local/share/Trash/*","/home/*/.gvfs"} / /mnt/test/Arch/backupYou can try add -i option to see why it retransfers the files...
good idea. seems most of the files in /usr are being updated due to a permission change. but i cant imagine why that would be
Deleted before we saved it.
i'm still trying to hunt this down. with -i flag rsync shows that a lot of these files are being re-copied because of a permission change.
why would all the files be executable now on the destination?
here is the source permissions
and the destination permissions after the rsync command