LoginSignup
15
14

More than 3 years have passed since last update.

SSH+TARでリモートファイル転送

Last updated at Posted at 2014-05-30

tarとsshで複数ファイルやディレクトリを送る/取ってくる」に実践的な例をまとめました。


-C の位置をよく間違えるのでメモ。

ssh user@fromhost 'tar zc -C /path/to targetdir' | ssh user@tohost 'tar zxv -C /path/to'
15
14
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
15
14