[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GNU Parallel Bug Reports Option to cd to current directory on remote mac
From: |
Martin Ward |
Subject: |
GNU Parallel Bug Reports Option to cd to current directory on remote machine |
Date: |
Tue, 28 Aug 2012 17:31:20 +0100 |
User-agent: |
KMail/1.12.4 (Linux/2.6.31.13-desktop-1mnb; KDE/4.3.5; x86_64; ; ) |
If one has a set of machines set up to mount the same home directory
(or other partition), eg via NFS, then it would be really useful
to automatically run parallel over all the machines via ssh.
The file ~/.parallel/sshloginfile can be set up with a list of hostnames
(plus : for the current host): but by default each of the remote
processes runs in the home directory.
The file ~/.parallel/config can be given the option --wd or --workd,
but this has to be updated each time we change to a new directory.
If we know that the directory structure on the remote machine is the same
as the directory structure on the local machine, it would be really
useful to have an option to tell the remote process to cd to the current
working directory on the local machine before running the command.
This is the equivalent to typing:
parallel --wd `pwd` ...
on the command line every time you run parallel.
--
Martin
STRL Reader in Software Engineering and Royal Society Industry Fellow
address@hidden http://www.cse.dmu.ac.uk/~mward/ Erdos number: 4
G.K.Chesterton web site: http://www.cse.dmu.ac.uk/~mward/gkc/
Mirrors: http://www.gkc.org.uk and http://www.gkc.org.uk/gkc
- GNU Parallel Bug Reports Option to cd to current directory on remote machine,
Martin Ward <=