( cd /path/to/src/ ; tar -cvf - . ) | ( ssh user@host.example.jp 'cd /path/to/dst/ && tar -xf -' )
コメントにより修正:
ついでにrsync
rsync -avz --delete --progress /path/to/src/ user@host.example.jp:/path/to/dst/

コメントを読む(1) [ コメントする ]