Showing posts with label copy files. Show all posts
Showing posts with label copy files. Show all posts

Monday, November 25, 2013

Copy files from remote server

scp -P port user@server:/path_to_the_file/file  /path_to_local_dir/
get file size:
ls -sh file

Sunday, September 26, 2010

copy files to remote server via ssh

rsync -e ssh -rvzl ttt user@host:/home/ttt