I would like to pipe output of find into input list of scp, how?
Posted
by
user13184
on Super User
See other posts from Super User
or by user13184
Published on 2009-10-05T18:27:51Z
Indexed on
2012/09/03
15:41 UTC
Read the original article
Hit count: 189
I'm a novice linux user and I am trying to send a long list of files from one computer to another. The argument list is too long, so I am using find. I am having trouble setting up the expression, though. Can someone help?
Here is what I would normally type for a short argument list.
scp ./* phogan@computer/directory...
Here's I think this might translate into with find.
scp find . -name "*" phogan@computer/directory...
Maybe I could use piping? Any suggestions would help. Thanks in advance.
© Super User or respective owner