0
votes
1answer
51 views

SCP a remote file with a specific name

I have a script on a remote server that creates a log each day with the date on the name and need to import it to my local machine everyday, but with my script it transfers all the files and I just ...
1
vote
1answer
368 views

Copying a large number of small text files between two servers over WAN

We have a few thousand small files (2-20KB) to copy between servers in one folder for backup purposes. Currently the process is automated as a cron job and does of SCP copy of each file to the remote ...
8
votes
4answers
4k views

Is it possible to SCP from a remote to local whilst logged into the remote and without knowing the local's IP address?

I regularly find myself wanting to copy a file from remote terminal session to my local machine. Usually I log out of the remote session and call an scp transfer from local to copy the file from ...
4
votes
1answer
3k views

Can I make scp ask before overwriting an existing file?

Is there a possibility (man scp didn't reveal any) to make scp interactive like cp -i? That is, scp asks, if the target exists, if it may overwrite it? If yes, does it work locally and remote? If ...