> --workdir mydir > --wd mydir > Files transferred using --transfer and --return will be > relative to mydir on remote computers, and the command > will be executed in that dir.
...will be executed in directory mydir. > The special workdir ... will create a workdir in > ~/.parallel/tmp/ on the remote computers and will be > removed if using --cleanup. The special mydir value ... creates working directories under ~/.parallel/tmp/ on remote computers. These directories will all be removed when --cleanup is additionally supplied. > The special workdir . will use the current working dir. > If the dir is a subdir of your home dir, the dir will be > converted to a relative path, so if your login on the > remote system is different, GNU parallel will still do > the right thing. The special mydir value . uses the current working directory. When the current working directory is beneath your home directory, the value . is treated as a relative path. Remote computers use this relative path to transparently correct for differences in login names and absolute home directory paths across systems. - Rhys
