Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
scp.md 590 B

scp

Secure copy (scp) is available on linux and mac. On windows it is available if you followed the instructions for the Windows Subsystem for Linux. The general syntax of scp (secure copy) is

scp [options] source user@destination

Examples

The user ab12cdef transfers the local file mydata.csv to a data project folder on rstudio1:

scp mydata.csv ab12cdef@rstudio1.idiv.de:/data/myproject/

Recursively (-r) transfer the myproject data directory to a data project folder on rstudio1:

scp -r myproject ab12cdef@rstudio1.idiv.de:/data/myproject/