pockestrap

Programmer's memo

sftpでディレクトリごと転送する

-rオプションを付けるとディレクトリごと転送することが出来るようになります。

See man sftp.

(snip)
-r Recursively copy entire directories when uploading and downloading. Note that sftp does not follow symbolic links encountered in the tree traversal.
(snip)