Displaying 2 results from an estimated 2 matches for "rpztlv".
Did you mean:
rptlv
2007 Nov 19
1
rsync-ing from two locations with same filenames (at different versions)
...ere a way to ask rsync to ignore this location if it doesn't exist?
mkdir -p new/dir2
echo "a" > full/dir1/a.txt
echo "b1" > full/dir1/b.txt
echo "c" > full/dir1/a.txt
echo "d" > full/dir2/a.txt
echo "b2" > new/dir1/b.txt
rsync -rpztlv --delete full/dir1/ full/dir2/ dest
rsync -rpztlv --delete new/dir1/ new/dir2/ full/dir1/ full/dir2/ dest
dest/b.txt now contains "b1", which is the wrong one. Is there a way
to force rsync to take b.txt from "new/dir1/b.txt" instead of taking
if from "full/dir1/b.txt"...
2008 Feb 01
0
rsync Digest, Vol 62, Issue 1
...ntime, I will upgrade).
> ll new/dir1/
skupno 4,0K
-rw-r--r-- 1 mojca wheel 6 feb 1 02:00 b.txt
> ll full/dir1/
skupno 8,0K
-rw-r--r-- 1 mojca wheel 2 jan 30 09:36 a.txt
-rw-r--r-- 1 mojca wheel 4 feb 1 01:52 b.txt
> cat full/dir1/b.txt
b12
> cat new/dir1/b.txt
b2222
> rsync -rpztlv --delete --checksum new/dir1/ new/dir2/ full/dir1/
> full/dir2/ dest
building file list ... done
./
sent 261 bytes received 20 bytes 562.00 bytes/sec total size is 24 speedup is 0.09
> cat dest/b.txt
b12
Thanks a lot,
Mojca
------------------------------
Message: 3
Date: Thu, 31...