Download file with SCP linux / Terminal

August 1, 2012   

Very simple really, using ssh connection and grabbing a single file to the current directory

scp .

To desktop

scp ~/Desktop/

Syncing a whole folder and it's permissions

-R is recursive
-p is keeping intact the permissions, structures, creation times etc.

scp -pR ~/Desktop/

blog comments powered by Disqus