2010-12-02 23:04:12 +00:00
|
|
|
### Test --basenamereplace
|
|
|
|
b.c b.c b.c b b b
|
|
|
|
b.c
|
|
|
|
b.c
|
|
|
|
b.c
|
|
|
|
b
|
|
|
|
b
|
|
|
|
b
|
|
|
|
### Test --basenameextensionreplace
|
|
|
|
b b b b b b
|
|
|
|
b
|
|
|
|
b
|
|
|
|
b
|
|
|
|
b
|
|
|
|
b
|
|
|
|
b
|
|
|
|
### Test {/}
|
|
|
|
b.c b.c b.c b b b
|
|
|
|
### Test {/.}
|
|
|
|
b b b b b b
|
|
|
|
### Test {#/.}
|
|
|
|
number2
|
|
|
|
### Test {#/}
|
|
|
|
number2.c
|
|
|
|
### Test {#.}
|
|
|
|
a/number2
|
2010-12-14 08:40:42 +00:00
|
|
|
### Test combined -X --return {/}_{/.}_{#/.}_{#/}_{#.} with files containing space
|
2010-12-02 23:04:12 +00:00
|
|
|
Warning: using -X or -m with --sshlogin may fail
|
2010-12-14 08:40:42 +00:00
|
|
|
mkdir -p tmp/number1.c_number1_number2_number2.c_a/number2 tmp/number2.c_number2_number2_number2.c_a/number2 tmp/number3.c_number3_number2_number2.c_a/number2 tmp/number4_number4_number2_number2.c_a/number2 tmp/number5_number5_number2_number2.c_a/number2 tmp/number6_number6_number2_number2.c_a/number2 tmp/number\ 7_number\ 7_number2_number2.c_a/number2 tmp/number\ \<8\|8\>_number\ \<8\|8\>_number2_number2.c_a/number2 ;touch tmp/number1.c_number1_number2_number2.c_a/number2/file tmp/number2.c_number2_number2_number2.c_a/number2/file tmp/number3.c_number3_number2_number2.c_a/number2/file tmp/number4_number4_number2_number2.c_a/number2/file tmp/number5_number5_number2_number2.c_a/number2/file tmp/number6_number6_number2_number2.c_a/number2/file tmp/number\ 7_number\ 7_number2_number2.c_a/number2/file tmp/number\ \<8\|8\>_number\ \<8\|8\>_number2_number2.c_a/number2/file
|
2010-12-02 23:04:12 +00:00
|
|
|
tmp
|
|
|
|
tmp/number6_number6_number2_number2.c_a
|
|
|
|
tmp/number6_number6_number2_number2.c_a/number2
|
|
|
|
tmp/number6_number6_number2_number2.c_a/number2/file
|
2010-12-14 08:40:42 +00:00
|
|
|
tmp/number <8|8>_number <8|8>_number2_number2.c_a
|
|
|
|
tmp/number <8|8>_number <8|8>_number2_number2.c_a/number2
|
|
|
|
tmp/number <8|8>_number <8|8>_number2_number2.c_a/number2/file
|
2010-12-02 23:04:12 +00:00
|
|
|
tmp/number3.c_number3_number2_number2.c_a
|
|
|
|
tmp/number3.c_number3_number2_number2.c_a/number2
|
|
|
|
tmp/number3.c_number3_number2_number2.c_a/number2/file
|
|
|
|
tmp/number5_number5_number2_number2.c_a
|
|
|
|
tmp/number5_number5_number2_number2.c_a/number2
|
|
|
|
tmp/number5_number5_number2_number2.c_a/number2/file
|
|
|
|
tmp/number2.c_number2_number2_number2.c_a
|
|
|
|
tmp/number2.c_number2_number2_number2.c_a/number2
|
|
|
|
tmp/number2.c_number2_number2_number2.c_a/number2/file
|
|
|
|
tmp/number1.c_number1_number2_number2.c_a
|
|
|
|
tmp/number1.c_number1_number2_number2.c_a/number2
|
|
|
|
tmp/number1.c_number1_number2_number2.c_a/number2/file
|
|
|
|
tmp/number4_number4_number2_number2.c_a
|
|
|
|
tmp/number4_number4_number2_number2.c_a/number2
|
|
|
|
tmp/number4_number4_number2_number2.c_a/number2/file
|
2010-12-14 08:40:42 +00:00
|
|
|
tmp/number 7_number 7_number2_number2.c_a
|
|
|
|
tmp/number 7_number 7_number2_number2.c_a/number2
|
|
|
|
tmp/number 7_number 7_number2_number2.c_a/number2/file
|
|
|
|
### Here we ought to test -m --return {/}_{/.}_{#/.}_{#/}_{#.} with files containing space
|
|
|
|
### But we will wait for a real world scenario
|