use ssh and tar to copy files with two pc

tar cf – files | ssh user@192.168.1.18 “tar -C /home/jiaojy -xf -”
files为文件,或者目录
-C 后面指定要拷贝的地址,
user为192.168.1.18上的用户

标签:
Linux, News

相关日志

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Leave Comment

(必填)

(必填)