File Transfer

Command Description
scp file.txt server2:/tmp Secure copy file.txt to remote host /tmp folder
rsync -a /home/apps /backup/ Synchronizes source to destination
scp nixsavy@server2:/www/*.html /www/tmp Copies *.html files from remote host to current host /www/tmp folder
rsync -avz /home/apps  linoxide@ Synchronize files/directories between the local and remote system with compression enabled
scp -r nixsavy@server2:/www /www/tmp Copies all files and folders recursively from remote server to the current system /www/tmp folder