I am new to rsync and I do not understand the output I am getting, can someone help me out,
the output contains lines such as,
<f.st...... somefile.txt <f+++++++++ someOtherfile.zip .d..t...... someDir/
I do not understand what the options on the left mean, and I am having trouble finding the answer on google. Thanks.
Method 1: Using –progress option to see the rsync progress:Use the “–progress” in the rsync command and “-av” to get a summary at the end of file transfer, consisting of transfer rate, sent/receive bytes, speed of transfer, and total file size.
rsync is a utility for efficiently transferring and synchronizing files between a computer and a storage drive and across networked computers by comparing the modification times and sizes of files. It is commonly found on Unix-like operating systems and is under the GPL-3.0-or-later license.
-v, --verbose This option increases the amount of information you are given during the transfer. By default, rsync works silently. A single -v gives you information about what files are being transferred and a summary at the end.
rsync is much faster than cp for this, because it will check file sizes and timestamps to see which ones need to be updated, and you can add more refinements. You can even make it do a checksum instead of the default 'quick check', although this will take longer.
I've paraphrased here the relevant portion of the manpage for people who have trouble finding it:
<
means that a file is being transferred to the remote host (sent).>
means that a file is being transferred to the local host (received).c
means that a local change/creation is occurring for the item (such as the creation of a directory or the changing of a symlink, etc.).h
means that the item is a hard link to another item (requires --hard-links)..
means that the item is not being updated (though it might have attributes that are being modified).*
means that the rest of the itemized-output area contains a message (e.g. "deleting").f
for filed
for directoryL
for symbolic linkD
for deviceS
for special file (e.g. socket or fifo)c
means either that a regular file has a different checksum or that a symlink, device, or special file has a changed value.s
means the size of a regular file is different and will be updated by the file transfer.t
or T
: t
means the modification time is different and is being updated to the sender's valueT
means that the modification time will be set to the transfer timep
means the permissions are different and are being updated to the sender's valueo
means the owner is different and is being updated to the sender's valueg
means the group is different and is being updated to the sender's value.
unused a
means that the ACL information changedx
means that the extended attribute information changedIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With