On June 26, 2014 7:46:58 PM EDT, Philip Amadeo Saeli <psaeli@zorodyne.com> wrote:
* Greg Freemyer <greg.freemyer@gmail.com> [2014-06-26 16:56]:
I'm not very happy at the moment and this is all pure openSUSE 13.1
I can't even get proper results with rsync from ext4 to ext4. I must be getting the basics wrong.
Shouldn't this work:
- create a directory on a ext4 filesystem. - but 3 1.5 GB files in it. - rsync -r --stats --progress <source_dir> /tmp/junk_dir - wait for it to complete - rerun the same rsync command
My expectation is the last rsync command should be instantaneous. It is not, the 3 1.5GB files are being copied again.
Thinking it might be the -r, I tried again without it. (rsync --stats --progress <source_dir>/* /tmp/junk_dir)
same issue.
I'm having a hard time believing rsync is broken, so what am I doing wrong?
Greg
Try using the "-a" ("--archive") option to rsync instead of the "-r" option (which "-a" implies). "-a" turns on quite a few other things, including perms, timestamps, and owner and group matching. That's what I use most frequently for similar situations.
--Phil
-a Seems to be working as I expect with opensuse for both ext4 and NTFS. Shouldn't -r work too? Greg -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org