rsync - yszheda/wiki GitHub Wiki
-
force rsync to overwrite files at destination even if they're newer
-
Rsync (Remote Sync): 10 Practical Examples of Rsync Command in Linux
port
rsync -avreH --progress 'ssh -p Port' root@remoteip:/remotepath/ /localpath/
--remove-source-files
rsync -av --ignore-existing --remove-source-files source/ destination/ && \
rsync -av --delete `mktemp -d`/ source/
- How to delete empty source directories when moving folders with rsync?
- Linux / Unix rsync: Delete Source File After Transfer
- Move files and delete directories with rsync?
- rsync delete files on sending side after transfer
filter
- Complex includes/excludes with rsync
- Using Rsync filter to include/exclude files
- How to use Rsync to copy only specific subdirectories (same names in several directories)
- How to copy all folders that contain a specific file
- rsync filter file rules for subpath
- Rsync filter: copying one pattern only
--files-from
Optimize
- rsync的几种优化应用方案
- rsync速度优化
- rsync配置及优化
- Optimizing rsync for transferring huge files quickly
- Maximizing rsync performance and throughput - directly-connected gigabit servers
- rsync增量传输大文件优化技巧
Security
Trouble-shooting
rsync: connection unexpectedly closed (0 bytes received so far)
mkstemp failed Operation not permitted
# mkdir -p /var/tmp/rsync
# rsync -rav --temp-dir=/var/tmp/rsync /tmp/somedata .