Thread: File syncing
View Single Post
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#19
Originally Posted by ctennenh View Post
I don't care too much about bi-directional sync, since I don't expect to change things on the tablet, just read them.
Remount read-only just to be sure

-c is yet another flag, it uses checksum instead of mtime or size. Uses more resources though.

-b is useful in bi-directional situations. Then it won't overwrite files, it will back them up instead.

There are also interesting flags for --delete mentioned, --delete-* see the manpage.

First is an error:
"rsync error: some files could not be transferred (code 23) at main.c(1385) [generator=2. 6.9]"
It doesn't look like anything is missing from the synced folders, and google tells me that code can mean all sorts of innocuous things, so I don't mind it. Just thought it was worth mentioning.
Use -v without Googling I'd assume this could mean permission problem or bad blocks or locked file. Also note your rsync version is 3 years old.

Secondly, even with the flags as set up as above -v is spitting out filenames. Is rsync just telling me what files are being checked, or is it recopying everything that's already been copied (which it shouldn't with the -u flag)? The entire action takes only a couple minutes for 1.5 GB, so I'm guessing it's the former.
-v increases verbosity. Without it, it does not mean no output will happen. You can use > or >> to direct the output only echoing errors. Or use -q to suppress output further than default.
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!