Displaying 3 results from an estimated 3 matches for "keep3".
Did you mean:
keep
2019 Apr 23
2
--delete-missing-args doesn't delete
...tried :
~$ mkdir -p /tmp/source /tmp/dest
~$ for i in {1..3}; do echo "keep $i" > /tmp/source/keep$i; done
~$ for i in {4..5}; do echo "to remove $i" > /tmp/source/to-delete-$i; done
~$ rsync -va /tmp/source/ /tmp/dest/
sending incremental file list
./
keep1
keep2
keep3
to-delete-4
to-delete-5
sent 410 bytes received 114 bytes 1,048.00 bytes/sec
total size is 45 speedup is 0.09
~$ for i in {1..3}; do touch /tmp/source/keep$i; done
~$ cd /tmp/source/
/tmp/source$ find . -name "keep*" | tee /tmp/source/file-list
./keep2
./keep1
./keep3
Now, using m...
2019 Apr 23
0
--delete-missing-args doesn't delete
...i in {1..3}; do echo "keep $i"Â Â Â Â Â > /tmp/source/keep$i; done
>
> ~$ for i in {4..5}; do echo "to remove $i" > /tmp/source/to-delete-$i; done
>
> ~$ rsync -va /tmp/source/ /tmp/dest/
> sending incremental file list
> ./
> keep1
> keep2
> keep3
> to-delete-4
> to-delete-5
>
> sent 410 bytes received 114 bytes 1,048.00 bytes/sec
> total size is 45Â speedup is 0.09
>
> ~$ for i in {1..3}; do touch /tmp/source/keep$i; done
>
> ~$ cd /tmp/source/
>
> /tmp/source$ find . -name "keep*" | tee /...
2019 Apr 23
2
--delete-missing-args doesn't delete
...i"Â Â Â Â Â > /tmp/source/keep$i; done
>>
>> ~$ for i in {4..5}; do echo "to remove $i" > /tmp/source/to-delete-$i; done
>>
>> ~$ rsync -va /tmp/source/ /tmp/dest/
>> sending incremental file list
>> ./
>> keep1
>> keep2
>> keep3
>> to-delete-4
>> to-delete-5
>>
>> sent 410 bytes received 114 bytes 1,048.00 bytes/sec
>> total size is 45Â speedup is 0.09
>>
>> ~$ for i in {1..3}; do touch /tmp/source/keep$i; done
>>
>> ~$ cd /tmp/source/
>>
>> /tmp/source...