14
Condor
5y

$ rsync /media/elements /media/data

... Why the fuck are existing files being synchronized as well.. they're the exact goddamn files rsync!!!

^Z
$ stat /media/elements/some.file
$ stat /media/data/some.file

Hmm 🤔 so they've got the same access and modify times, same size and everything, just that the change time is different.. well, guess I'll have to bite the pill then, syncing everything it is 🙁

Next day: rsync aborted because disk quota is exceeded

What the...
*Checks storage consumption on /media/data*
COMPLETELY FILLED TO THE BRIM

Oh God 😰 I didn't completely copy over a duplicate of that elements directory, did I?

$ ls -sh /media/data/elements
*exists*
$ du -sh /media/data/elements
1.4TB

But why..? All because I forgot a single / in my rsync command.

Please kill -9 me 🙂🔫

Comments
  • 1
    @njpugh90 it does, but I already have a standard set of parameters (-avz) which I'm confident works 99% of the time. Also I find the output of --dry-run to be rather cluttered, so I tend to avoid it unless absolutely necessary.
Add Comment