How to copy all files from a directory to a remote directory using scp?
My goal is copy only all files from ~/local_dir to [email protected] /var/www/html/target_dir using scp and do not create local_dir category in local_dir.
My goal is copy only all files from ~/local_dir to [email protected] /var/www/html/target_dir using scp and do not create local_dir category in local_dir.
I’m trying to copy a batch of files with scp but it is very slow. This is an example with 10 files:
I have recursively transferred many files and folders with scp, using the command:
I would like to copy a directory of files from a remote server to my local machine. As it is a large number of files, the option of ignoring existing files is desirable.
Unfortunately, rsync is not available for some reason (the remote server is from a CDN service, and beyond my control).