Getting Rsync Error Code 23? Here Is The Fix
Hi,
I am getting Rsync Error code 23. Can you tell which files were not transferred? Please reply ASAP. Thanks in advance.
Hi,
I am getting Rsync Error code 23. Can you tell which files were not transferred? Please reply ASAP. Thanks in advance.
For each and every file not transferred, you will eventually get an error message. You will have to consider the messages opening or reading directories. So you shall not always be able to see an error message.
If you have not changed the source, you can run rsync with –n to check what it transfers without any actual transfers happening. And if you want to know about the byte difference, rsync provides you the size of the files.
You might also note that the NTFS can store data in the alternate streams or in the attributes of files. Rsync will typically not transfer those files.
You might also try silencing rsync’s non-error output applying rsync’s –q flag. If you now run it again with –q flag, rsync will likely yet fail, but this time any error message causing this problem won’t be buried under the various lines on status messages.
The “rsync error code 23” or specifically error code “23” means “Partial transfer due to error”. For all the items that could not be transferred, you will receive an error message. Note that the error messages could be about opening or accessing directories or folders. This means you won’t really get an error message for every file that could not be transferred.
If your source hasn’t change, you may run rsync with the “-n” switch to learn what items can be transferred at the moment without doing the actual transfer. Also, NTFS is able to store data in alternate streams or attributes of the files and rsync don’t normally transfer those.