Eckher
EckherInsightsContact
Eckher
Your guide to what's next.
How to scp?
Mar 5, 2020

How to scp?

Using the scp command.

Copying files to a remote server can be accomplished with scp.

Examples:

scp -r local_file remoteaddress.com:remote_dir/remote_file

local_file will be copied to the server into remote_dir. The new file will be named remote_file.

Copying a directory

To copy a directory, use the -r (recursive) option:

scp -r local_dir remoteaddress.com:remote_dir

Do you want a new directory to be created inside remote_dir named local_dir or just copy the contents of local_dir into remote_dir directly?

See also
Creating a JavaScript library with webpack
How to bundle a JavaScript library with webpack?
Publishing an npm package to GitHub Packages
How to publish an npm package to GitHub Packages?
Authenticating to an npm registry
How to authenticate to an npm registry?
Migrating from Google Cloud Source Repositories to GitHub
How to import a repository from Google Cloud Source to GitHub?