Quantcast
Channel: how to use find in scp command - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2

how to use find in scp command

$
0
0

I would like to use scp command fo transfer some files from remote server to local machine. The problem I have is to find the files and then direct them to scp command. I don't want to generate an ssh-key on the server, so I have to use the command from the local machine to perform the task.

Actually, I need something like below: scp username@server_IP:/path/to/file/`find . -ctime -1 -type f` ./The problem is that find command does not work.

Please advice.


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles



Latest Images