rsync -avze "ssh -i /home/hogehoge/id_rsa.rsa" /転送元/ user-name@xxx.xxxxx.xxx:/転送先/
phpからはsystem()コマンドなどで使える
http://php.net/manual/ja/function.system.php
lsync との合わせ技でごにょごにょ出来るっぽい
More than 5 years have passed since last update.
rsync -avze "ssh -i /home/hogehoge/id_rsa.rsa" /転送元/ user-name@xxx.xxxxx.xxx:/転送先/
phpからはsystem()コマンドなどで使える
http://php.net/manual/ja/function.system.php
lsync との合わせ技でごにょごにょ出来るっぽい
Register as a new user and use Qiita more conveniently