On Sat, Jan 18, 2025 at 08:27:17PM -0500, Default User wrote: > Hi! [...]
> Every night, I have been using rsync to copy from DRIVE1 to DRIVE2, > doing: > > time sudo rsync -avvv --human-readable --delete --numeric-ids > --info=progress2,stats2,name2 -- > exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media > /*", > "/lost+found"} /media/user/DRIVE1/ /media/user/DRIVE2/ ; date > > And each time, DRIVE2 would be using more and more space, much more > than DRIVE1! I can think about two things which migt keep rsync from deleting stuff in your target dir. - Errors. Look for "skipping file deletion" in the logs. You might want to add --ignore-errors, but this obviously has a downside -- I'd tend to understand why there are errors :) - files piling up in excluded subdirs (however they might end up there in the first place). --delete-excluded will take care of that (although I'd be very curious and look into those excluded dirs first). Cheers --
signature.asc
Description: PGP signature