2010-05-30 22:30:01 +00:00
|
|
|
### Test --transfer --return --cleanup - files with newline
|
|
|
|
### --transfer - file with newline
|
|
|
|
newline
|
|
|
|
newline
|
|
|
|
good if no file
|
2020-08-07 20:20:30 +00:00
|
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2010-05-30 22:30:01 +00:00
|
|
|
### --transfer --cleanup - file with newline
|
|
|
|
newline
|
|
|
|
newline
|
|
|
|
good if no file
|
2020-08-07 20:20:30 +00:00
|
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2010-05-30 22:30:01 +00:00
|
|
|
### --return - file with newline
|
|
|
|
tmp/parallel.file.
|
|
|
|
newline1.out
|
|
|
|
tmp/parallel.file.
|
|
|
|
newline2.out
|
|
|
|
### --return --cleanup - file with newline
|
|
|
|
tmp/parallel.file.
|
|
|
|
newline1.out
|
|
|
|
tmp/parallel.file.
|
|
|
|
newline2.out
|
|
|
|
good if no file
|
2020-08-07 20:20:30 +00:00
|
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
2010-05-30 22:30:01 +00:00
|
|
|
OK
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2010-05-30 22:30:01 +00:00
|
|
|
OK
|
|
|
|
### --transfer --return --cleanup - file with newline
|
|
|
|
tmp/parallel.file.
|
|
|
|
newline1.out
|
|
|
|
tmp/parallel.file.
|
|
|
|
newline2.out
|
|
|
|
good if no file
|
2020-08-07 20:20:30 +00:00
|
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
2010-05-30 22:30:01 +00:00
|
|
|
OK
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2010-05-30 22:30:01 +00:00
|
|
|
OK
|
|
|
|
### --trc - file with newline
|
|
|
|
tmp/parallel.file.
|
|
|
|
newline1.out
|
|
|
|
tmp/parallel.file.
|
|
|
|
newline2.out
|
|
|
|
good if no file
|
2020-08-07 20:20:30 +00:00
|
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
2010-05-30 22:30:01 +00:00
|
|
|
OK
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2010-05-30 22:30:01 +00:00
|
|
|
OK
|
|
|
|
### --trc - multiple file with newline
|
|
|
|
tmp/parallel.file.
|
|
|
|
newline1.out
|
|
|
|
tmp/parallel.file.
|
|
|
|
newline1.out2
|
|
|
|
tmp/parallel.file.
|
|
|
|
newline2.out
|
|
|
|
tmp/parallel.file.
|
|
|
|
newline2.out2
|
|
|
|
good if no file
|
2020-08-07 20:20:30 +00:00
|
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
2010-05-30 22:30:01 +00:00
|
|
|
OK
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2010-05-30 22:30:01 +00:00
|
|
|
OK
|
|
|
|
### Test use special ssh
|
|
|
|
tmp/parallel.file.
|
|
|
|
newline1.out
|
|
|
|
tmp/parallel.file.
|
|
|
|
newline1.out2
|
|
|
|
tmp/parallel.file.
|
|
|
|
newline2.out
|
|
|
|
tmp/parallel.file.
|
|
|
|
newline2.out2
|
|
|
|
good if no file
|
2020-08-07 20:20:30 +00:00
|
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
2010-05-30 22:30:01 +00:00
|
|
|
OK
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2010-05-30 22:30:01 +00:00
|
|
|
OK
|
|
|
|
Input for ssh
|
2020-08-07 20:20:30 +00:00
|
|
|
-l vagrant one-server -- mkdir -p ./.
|
|
|
|
-l vagrant one-server rsync --server -lDrRze.iLsfxC . ./.
|
2022-02-17 21:39:01 +00:00
|
|
|
-l vagrant one-server -- exec perl -X -e GNU_Parallel,eval+pack+q/H10000000/,join+q//,@ARGV hex
|
2020-08-07 20:20:30 +00:00
|
|
|
-l vagrant one-server cd ././tmp; rsync --server --sender -lDrRze.iLsfxC . './parallel.file.
|
2018-08-22 22:21:29 +00:00
|
|
|
newlineX.out'
|
2020-08-07 20:20:30 +00:00
|
|
|
-l vagrant one-server cd ././tmp; rsync --server --sender -lDrRze.iLsfxC . './parallel.file.
|
2018-08-22 22:21:29 +00:00
|
|
|
newlineX.out2'
|
2021-04-22 16:20:41 +00:00
|
|
|
-l vagrant one-server -- sh -c 'rm -f '"'"'./tmp/parallel.file.
|
|
|
|
newlineX'"'"' 2>/dev/null;rmdir ./tmp/ ./ 2>/dev/null;'
|
|
|
|
-l vagrant one-server -- sh -c 'rm -f '"'"'./tmp/parallel.file.
|
|
|
|
newlineX.out'"'"' 2>/dev/null;rmdir ./tmp/ ./ 2>/dev/null;'
|
|
|
|
-l vagrant one-server -- sh -c 'rm -f '"'"'./tmp/parallel.file.
|
|
|
|
newlineX.out2'"'"' 2>/dev/null;rmdir ./tmp/ ./ 2>/dev/null;'
|
2020-08-07 20:20:30 +00:00
|
|
|
-l vagrant one-server -- mkdir -p ./.
|
|
|
|
-l vagrant one-server rsync --server -lDrRze.iLsfxC . ./.
|
2022-02-17 21:39:01 +00:00
|
|
|
-l vagrant one-server -- exec perl -X -e GNU_Parallel,eval+pack+q/H10000000/,join+q//,@ARGV hex
|
2020-08-07 20:20:30 +00:00
|
|
|
-l vagrant one-server cd ././tmp; rsync --server --sender -lDrRze.iLsfxC . './parallel.file.
|
2018-08-22 22:21:29 +00:00
|
|
|
newlineX.out'
|
2020-08-07 20:20:30 +00:00
|
|
|
-l vagrant one-server cd ././tmp; rsync --server --sender -lDrRze.iLsfxC . './parallel.file.
|
2018-08-22 22:21:29 +00:00
|
|
|
newlineX.out2'
|
2021-04-22 16:20:41 +00:00
|
|
|
-l vagrant one-server -- sh -c 'rm -f '"'"'./tmp/parallel.file.
|
|
|
|
newlineX'"'"' 2>/dev/null;rmdir ./tmp/ ./ 2>/dev/null;'
|
|
|
|
-l vagrant one-server -- sh -c 'rm -f '"'"'./tmp/parallel.file.
|
|
|
|
newlineX.out'"'"' 2>/dev/null;rmdir ./tmp/ ./ 2>/dev/null;'
|
|
|
|
-l vagrant one-server -- sh -c 'rm -f '"'"'./tmp/parallel.file.
|
|
|
|
newlineX.out2'"'"' 2>/dev/null;rmdir ./tmp/ ./ 2>/dev/null;'
|