Fu
Simple is Beautiful!

linux command之rsync

Example

使目的文件夹与原始文件夹完全一样

rsync -a --delete source destination

排除文件夹

rsync -a --exclude=pattern_to_exclude source destination
linux31CLI17
2014-12-17 20:11:14