Difference between revisions of "File"

From ElectroDragon
Jump to navigation Jump to search
 
Line 6: Line 6:
 
* Zip file first: zip -r file.zip file_folder
 
* Zip file first: zip -r file.zip file_folder
 
* Use SCP: scp root@dl.electrodragon.com:/var/www/html/k/data/User/admin/home/soft.zip  
 
* Use SCP: scp root@dl.electrodragon.com:/var/www/html/k/data/User/admin/home/soft.zip  
* scp -r username@servername:remote_dir/ /tmp/local_dir
+
* scp -r root@dl.electrodragon.com:/var/www/html/k/data/User/admin/home/Wiki .
 
[[category: Topics]]
 
[[category: Topics]]

Latest revision as of 11:58, 9 August 2019

Google Drive

Between VPS

  • Zip file first: zip -r file.zip file_folder
  • Use SCP: scp root@dl.electrodragon.com:/var/www/html/k/data/User/admin/home/soft.zip
  • scp -r root@dl.electrodragon.com:/var/www/html/k/data/User/admin/home/Wiki .