When I run svn st | awk '{print $2}', I get:a.pyb.pyc.pyThen I want to scp these files to a remote server. I have tried:svn st | awk '{print $2}' | xargs scp my_name@my_server:~/But it doesn't work. What is the right command to do this?Thank you!
Provide parameters to scp with xargs
scp;xargs
try this.  should work with recent versions of xargs.svn st | awk '{print $2}' | xargs -iz scp z my_name@my_server:alternately, you could just loop though the files.for file in $(svn st | awk '{print $2}'); do scp $file my_name@my_server: ; done