-a option of rsync is equivalent to
-rlptgoD options.
The -r option is for recursively transferring directories.
The -l option is for keeping symlinks.
The -p and the -t options are for keeping file permissions and modification times of source files, respectively.
The -g and the -o options are necessary for keeping the group and the owner of source files, respectively. The -o option needs root privileges.
the -D option is for copying device files and special files such as FIFO files and named sockets. We must have root privileges for transferring device files.
rsync archive mode
最新推荐文章于 2024-01-24 17:20:18 发布