Re: How to use Bash pipefail with GNU Parallel

2015-11-24 Thread Ole Tange
On Mon, Nov 23, 2015 at 11:25 PM, David Ventimiglia wrote: > How do I use Bash pipefail with GNU Parallel? : > I want any failed pipeline command to cause GNU parallel to fail (i.e., > return non-zero exit status). > > Here's an example of a command stored in the database table. > >> curl -sf |

Re: transfer with hostnames from stdin

2015-11-24 Thread Ole Tange
On Sat, Nov 21, 2015 at 6:02 PM, Brian McQueen wrote: > 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 t