1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

scp コマンドを使ってリモートサーバーのファイルをローカル環境に保存する

Last updated at Posted at 2014-06-27

コマンド例

$ scp -rC username@example.com:~/filename ~/Desktop/

よく使うオプション

  • C
    • 通信を圧縮する。
  • r
    • ディレクトリ内を再帰的にコピーする
  • p
    • コピー元の更新時間とモードを維持する。

SCP とは

SSHのプロトコルを使用した,ローカル・ホストとリモート・ホストの間でファイルをコピーするためのコマンド。

「scp」とは:ITpro
http://itpro.nikkeibp.co.jp/word/page/10005103/
-> リンク切れ

参考

1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?