Working directories on remote machines

2011-10-12 Thread Srikanth R Madikeri
Hello everyone, I have been using gnu parallel to distribute tasks over a host and a remote machine. Unfortunately, I am unable to use more than one remote machine because the directory structure in each of them is different. Is there a way to mention the working directory for each remote system i

Parallel and $ENV{"HOME"}

2011-10-12 Thread Benjamin Henrion
Hi, I use parallel to shoot WALs of postgresql to multiple servers: $ grep parallel /etc/postgresql/9.1/main/postgresql.conf archive_command = 'parallel -a /etc/postgresql/9.1/main/walservers "mkdir -pv /tmp/{}/pg_xlog/; gzip -1 -v -c %p > /tmp/{}/%p.gz; rsync /tmp/{}/%p.gz -az --timeout=15 --log

Re: Working directories on remote machines

2011-10-12 Thread Hans Schou
On Tue, 11 Oct 2011, Srikanth R Madikeri wrote: Hello everyone, I have been using gnu parallel to distribute tasks over a host and a remote machine. Unfortunately, I am unable to use more than one remote machine because the directory structure in each of them is different. Is there a way to ment