parallel
[Top][All Lists]
Advanced

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

Re: how to run remote bash scripts with "|", "-" characters in it


From: Ole Tange
Subject: Re: how to run remote bash scripts with "|", "-" characters in it
Date: Fri, 11 Oct 2013 21:55:23 +0200

On Fri, Oct 11, 2013 at 7:59 PM, p sena <senapati2001@yahoo.com> wrote:

> I have a minimal bash executable script to be run across N hosts. I do it
> this way
>
> cat hosts.txt |parallel -j 0 -u rsync -Ha /home/user/dirname/hello
> {}:/home/user/hello \; ssh {} /home/user/hello

Checkout --basefile, --slf, and --nonall.

Also I would find it unlikely that you really want the -u.

Before you use the program hello, check that it runs on your local system.


/Ole



reply via email to

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