parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

transfer with hostnames from stdin


From: Brian McQueen
Subject: transfer with hostnames from stdin
Date: Sat, 21 Nov 2015 17:02:15 +0000

This would be great for my current cloud setup:

./getIpsFromAPI | parallel --tag --nonall -S - --transfer fixThing.sh

I want it to take the local file, transfer it and exec it in the usual way, but I want the filename as an arg to transfer, and the hostnames to come from stdin.  Is there a way to do that?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]