1、文件的上传和下载
本地文件上传到服务器:scp /Users/xuqiong/PycharmProjects/keras2tf/ssrnet_3_3_3_64_1_1_morph2_age_all.pb root@192.168.55.10:/data
服务器文件下载到本地:scp root@192.168.55.10:/home/xuqiong/data/ssrnet_3_3_3_64_1_1_morph2_age_all.tflite /Users/xuqiong/PycharmProjects/keras2tf
2、文件夹的上传和下载
只需要在前面加:-r即可
本地文件夹上传到服务器:scp -r /Users/xuqiong/PycharmProjects/keras2tf/ root@192.168.55.10:/data
服务器文件夹下载到本地:scp -r root@192.168.55.10:/home/xuqiong/data/ /Users/xuqiong/PycharmProjects/keras2tf