rsync是Linux下进行文件同步到一个命令,可以同步两台计算机到文件与目录,利用查找文件中到不同块以减少数据传输。也可以在一台电脑到不同目录间同步,比如可以写个简单到脚本,将系统中你到一些配置文件备份到一个 dotfiles 文件夹,上传到 GitHub 以便以后新的电脑或系统再利用 rsync 回复这些配置文件,这是很方便自动...
-E, --executability preserve executability --chmod=CHMOD affect file and/or directory permissions -A, --acls preserve ACLs (implies -p) -X, --xattrs preserve extended attributes -o, --owner preserve owner (super-user only) -g, --group preserve group --devices preserve device files (sup...
This parameter determines whether or not the permissions on the secrets file will be checked. If "strict modes" is true, then the secrets file must not be readable by any user ID other than the one that the rsync daemon is running under. If "strict modes" is false, the check is not ...
This parameter determines whether or not the permissions on the secrets file will be checked. If "strict modes" is true, then the secrets file must not be readable by any user ID other than the one that the rsync daemon is running under. If "strict modes" is false, the check is not ...
preservepermissionsfromsourcedir=true preservetimestampsfromsourcedir(donotchange)=false preservexattrsfromsourcedir(donotchange)=false preservespecialattributesfromsourcedir(donotchange)=false preserveuserfromsourcedir(donotchange)=false preservegroupfromsourcedir(donotchange)=false preservemodefromsourcedir(donot...
(This example will copy folders and sub-folder but will not preserve permissions, times and symbolic links during the transfer) rsync -arv--exclude'logs'user01@server01.comentum.com:/home/user01//Users/bob/user01backup/ (This example will copy everything (folders, sub-folders, etc), will...
preservepermissionsfromsourcedir=true preservetimestampsfromsourcedir(donotchange)=false preservexattrsfromsourcedir(donotchange)=false preservespecialattributesfromsourcedir(donotchange)=false preserveuserfromsourcedir(donotchange)=false preservegroupfromsourcedir(donotchange)=false preservemodefromsourcedir(donot...
-o, --owner preserve owner (super-user only)保持文件属主信息 -p, --perms preserve permissions 保持文件权限 -D same as --devices --specials保持设备文件信息 -e, --rsh=COMMAND specify the remote shell to use使用信道协议,指定替代rsh的shell程序 ...
+files -g, --group Preserve group -o, --owner Preserve owner (super-user only) -p, --perms Preserve permissions --remove-source-files Sender removes synchronized files (non-dir) -t, --times Preserve times -S, --sparse Handle sparse files efficiently -x, --one-file-system Don’t ...
preserve permissions-E,--executability preserve the file's executability--chmod=CHMODaffect file and/or directory permissions-A,--acls preserveACLs(implies--perms)-X,--xattrs preserve extended attributes-o,--owner preserveowner(super-user only)-g,--group preserve group--devices preserve device...