Displaying 2 results from an estimated 2 matches for "deleteme1".
Did you mean:
deleteme
2010 Aug 13
1
rsync is not deleting subdirectories
...k up
/home to an external USB drive. Both drives are JFS. Example, where
/media/8c4d270d-6139-4fed-8a32-2df8d28acdf3/ is the mount point for
the external drive on which a back-up already exists:
mike at robots mike]$ pwd
/media/8c4d270d-6139-4fed-8a32-2df8d28acdf3/mike
[mike at robots mike]$ mkdir deleteme1
[mike at robots mike]$ cd deleteme1/
[mike at robots deleteme1]$ touch deleteme1.txt
[mike at robots deleteme1]$ cd ../Desktop
[mike at robots Desktop]$ mkdir deleteme2
[mike at robots Desktop]$ cd deleteme2/
[mike at robots deleteme2]$ touch deleteme2.txt
[mike at robots deleteme2]$ rsync -avn --d...
2019 Jun 09
2
[Bug 13991] New: rsync --delete --one-file-system skips deletes after crossing filesystems on destination.
...net
Reporter: arden at metronet.co.uk
QA Contact: rsync-qa at samba.org
When using rsync with the -x (or --one-file-system) option to sync to a
destination that crosses filesystems: --delete won't delete files in the second
filesystem.
Example done on a Centos7 machine where deleteme1 is left in the destination
after deleting from the source:
------------------
root at arden-lt ~]# ## Setup environment in lvm
root at arden-lt ~]# cd /tmp
[root at arden-lt tmp]# VG=vg_ardenkvm
[root at arden-lt tmp]# mkdir testsrc testdst
[root at arden-lt tmp]# lvcreate -l 1 $VG/lvtest1
Vol...