I have a situation where I need to (almost)completely copy my Ubuntu HD to an external HD. The biggest problem I and encountering is that there are an extremely large number of files that won't copy for various reasons.
If I could get rsync to write only the errors it encounters to a log file, then I could use that file to create bash file to get me further along. By errors I mean any situation where a file won't copy, regardless of reason.
When I use the log option the log file is too large as it contains info on every file. So large I am unable to even open it.
rsync /source/ /dest/ --log-file=error.log
When I tried the quiet option outputing the screen to a file, the log file I get is empty.
rsync -q /source/ /dest/ > error.log
Is there anyway to get rsync to write to a file, only the errors it has encountered?
rsync
writes error instderr
thereforeerror.log
is empty in the following caseNow all the errors will be saved on
error.log
.