Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to copy directory to a ssh server

# Copy from machine a to b
scp -r /path/to/directory user@ipaddress:/path/to/destination

# Copy from machine b to a
scp -r user@ipaddress:/path/to/destination /path/to/directory
Comment

copy folder from ssh to local

scp -r user@your.server.example.com:/path/to/foo /
Comment

copy folder from ssh server to local

scp -r username@IP:/path/to/server/source/folder/  .
Comment

PREVIOUS NEXT
Code Example
Shell :: remove file from terminal ubuntu 
Shell :: run mongodb locally 
Shell :: how to uninstall npm package 
Shell :: how to change users in ubunut terminal 
Shell :: unix terminal search inside file 
Shell :: check active ssh users in linux 
Shell :: reset gpg passphrase 
Shell :: bash date of file 
Shell :: git fatal bad revision cherry-pick 
Shell :: how to see staged files in git 
Shell :: sh or bash validate if file no exist 
Shell :: grep in file content 
Shell :: find all .desktop files linux 
Shell :: You need to have the Android SDK Build-tools installed on your system 
Shell :: mkdir rm folder 
Shell :: how to see hidden files in terminal mac 
Shell :: kde increase refresh rate 
Shell :: add ssh github 
Shell :: install cypress dev only 
Shell :: push the project to github 
Shell :: laravel version global upgrade 
Shell :: git how to see changes made by a commit 
Shell :: mysql2 install error ruby 
Shell :: powershell sharepoint copy file to other site collection 
Shell :: zsh slow in git repo 
Shell :: open current dir cmd 
Shell :: how to add opt/homebrew/bin to the PATH m1 macbook 
Shell :: read from .env file bash 
Shell :: if statement in shell script 
Shell :: install .net framework 3.5 from windows 
ADD CONTENT
Topic
Content
Source link
Name
7+9 =