Copy A Directory From A Remote Server


/ Published in: Bash
Save to your folder(s)

Use on a command line to copy a whole directory on a remote server down to your computer. Requires SSH access to remote server.


Copy this code and paste it in your HTML
  1. $ scp -r username@www.remoteserver.com:/pathto/dir/ mycopy

Report this snippet


Comments


You need to login to view comments.