Documentation update.

This commit is contained in:
Ole Tange 2013-03-12 10:17:55 +01:00
parent 9ca429b5ce
commit 204da584b6
2 changed files with 11 additions and 3 deletions

3
README
View file

@ -30,6 +30,9 @@ Full installation of GNU Parallel is as simple as:
./configure && make && make install
= Personal installation =
If you are not root you can add ~/bin to your path and install in
~/bin and ~/share:

View file

@ -2227,7 +2227,7 @@ files over high speed connections.
The following will start one B<rsync> per big file in I<src-dir> to
I<dest-dir> on the server I<fooserver>:
B<find src-dir -type f -size +100000 | parallel -v ssh fooserver
B<cd src-dir; find . -type f -size +100000 | parallel -v ssh fooserver
mkdir -p /dest-dir/{//}\;rsync -Havessh {} fooserver:/dest-dir/{}>
The dirs created may end up with wrong permissions and smaller files
@ -2235,6 +2235,11 @@ are not being transferred. To fix those run B<rsync> a final time:
B<rsync -Havessh src-dir/ fooserver:/dest-dir/>
If you are unable to push data, but need to pull them and the files
are called digits.png (e.g. 000000.png) you might be able to do:
<seq -w 0 99 | parallel rsync -Havessh fooserver:src-path/*{}.png destdir/>
=head1 EXAMPLE: Use multiple inputs in one command
@ -3455,10 +3460,10 @@ fixed in that version.
=item *
A complete example that others can run that shows the problem. This
should preferably be small and simple. A combination of B<seq>,
should preferably be small and simple. A combination of B<yes>, B<seq>,
B<cat>, B<echo>, and B<sleep> can reproduce most errors. If your
example requires large files, see if you can make them by something
like B<seq 1000000> > B<file>.
like B<seq 1000000> > B<file> or B<yes | head -n 10000000> > B<file>.
=item *