similar to: Exclude some source files from being deleted when --remove-source-files is used

Displaying 20 results from an estimated 60000 matches similar to: "Exclude some source files from being deleted when --remove-source-files is used"

2006 Apr 02
1
Make rsync exclude subversion working directories
Hi Guys, I'm backuping my home dir with rsync since 1 1/2 years, which is quite nice (I'm using the link-dir option). Now I started to use subversion and don't like that rsync is making backups of the checked-out working dirs. First I put all wd's in one folder (~/tmp) and put this on an exclude list. But now I'm use subversion on other locations as well, for example
2006 Feb 09
1
exclude an excluded file from being deleted by --delete-excluded
Hi, I have a particular directory in my exclude list, but I want it excluded from --delete-excluded. Is this possible. or maybe if I explain what I'm trying to do, someone will come up with a more suitable way. I am using rsync (2.6.6) to backup data from a Windows Server (cygwin) to an OpenBSD box. rsync -rtvz --delete-excluded --del --timeout=3600 -e "ssh -i c:\cygwin\ssh-key"
2009 Oct 13
1
Delay for --remove-source-files
Hi, I'm using rsync with -aP --remove-source-files to move files from one machine to another while watching the progress. I'm under the impression that rsync is deleting the transmitted source files on-the-fly, not at the very end, but with a delay of 2-3 files, i.e. if 10 files are moved the first source file is deleted after the third of fourth file got transmitted. However, if rsync is
2006 Dec 08
2
1 file of 16000 always being updated
Hi all! I'm trying rsync synchronizing some directories with about 16.000 files. After the first synchronization, the others are transfering just the changed files, as it is expected to be, except for 1 single file, that is not changed (size or time) and is being transfered in all synchronization. The file is called JSPWiki.war, and is a java war file. I checked the size and times on both
2007 May 08
1
rsync fails to sync files
Hi, I'm seeing a weird problem with rsync 2.6.9 protocol version 29 on Debian Sarge. When copying a file from one location to another between two Debian boxes, if destination includes a file with same size and name, rsync fails to see that they are not exactly the same file. The situation originates from copying a file to a place which is periodically rsynced onwards, and the rsync
2023 Mar 06
1
prevent filter excluded files from being deleted
I am not 100% sure I am interpreting this correctly but I think you are complaining that the file was being deleted in the first command? If so, instead of -F try --include='*/' --exclude='*'. Otherwise, maybe you want a second -F? On 3/6/23 16:04, Heiko Schlittermann via rsync wrote: > Hello, > > given are 2 directories: > > a > ??? a-file >
2009 Oct 15
1
DO NOT REPLY [Bug 6816] New: Delta-transfer algorithm does not reuse already transmitted identical blocks
https://bugzilla.samba.org/show_bug.cgi?id=6816 Summary: Delta-transfer algorithm does not reuse already transmitted identical blocks Product: rsync Version: 3.0.5 Platform: Other OS/Version: All Status: NEW Severity: enhancement Priority: P3 Component: core AssignedTo: wayned
2004 May 11
2
possible bug with exclude/exclude-from
Hi While trying to back up my homedir, i found what looks like a bug: from /home, i do: rsync -CWavP --delete --delete-excluded \ --exclude=".phoenix/default/*/Cache/" \ --exclude-from=rsync-excludes \ myusername/ targetserver:/backup/myusername/ rsync-excludes contains (without [] lines): [start] #comment **.xvpics** *.swp [end] This works
2023 Mar 06
2
prevent filter excluded files from being deleted
Hello, given are 2 directories: a ??? a-file ??? .rsync-filter b ??? a-file I'd like to sync a/ -> b/, but I'd like to *exclude* all files. But I do not want to delete the excluded files. (The real scenario is a way more complex, the above is my reproducer.) and the following rsync command: `rsync -F --del a/ b/` Note, there is *no* `--delete-excluded`: $
2014 May 28
0
Flush delete command on rsync exit with --remove-source-files
When the option "--remove-source-files" is specified, files are not immediately deleted on the remote machine after being transfered. Instead, it is (as far as I understand) queued up in the list of actions. If rsync is ended with SIGTERM or SIGINT, then a transfered file may not be deleted on the remote machine. If the user moves the transfered files (for example sorting them into
2008 Sep 29
5
DO NOT REPLY [Bug 5801] New: Sparse (-S) option doesn't work with new files
https://bugzilla.samba.org/show_bug.cgi?id=5801 Summary: Sparse (-S) option doesn't work with new files Product: rsync Version: 3.1.0 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy:
2005 Apr 06
1
rsync, --cvs-exclude option.
Hi Martin, Yes we can add "--include=*.exe", But --cvs-exclude means excluding only CVS dir right, But currently it is excluding other also. I am confused. ~~~~ static char default_cvsignore[] = /* These default ignored items come from the CVS manual. */ "RCS SCCS CVS CVS.adm RCSLOG cvslog.* tags TAGS" " .make.state .nse_depinfo *~ #* .#* ,*
2004 Dec 01
1
rsync transfers whole content when a new hardlink is created
Hi, I detected a silly behaviour of rsync when new hardlinks of already synced files are created: Scenario: There are a local directory and a equal remote directory created by former run of rsync. Create a hardlink from a already existing file (both inside the local directory). If this hardlink has a filename with comes before the original filename when both are sorted in alphabetic order,
2005 Jun 15
2
How to prevent deletion of files on the client side?
I've a problem understanding the --delete option (well, I think I understand why it works that way but I miss how to make it work the way I want). I want to use rsync to "mirror" two live Apache servers (I've tried to simplify my problem to a small example, but it's part of a bigger project). Regularly, the apache directory tree is rsynced from a master server to its slave
2010 Jul 14
1
Linux, rsync files excluding open/busy files
Hi, I read many posts about this, faq, googled, and finally got to write here. The scenario/question is this: I want to transfer files from Server B -> Server C the problem is that, files that are to be transfered may be open/busy, meaing they are "not still complete, " or they are open while rsync is run. Is there a way to automatically handle these open files using rsync , rsync
2008 May 27
1
How to exclude directories from source with --relative
I have been unable to figure out how to exclude directories that only exist on the source side when running rsync version 3.0.2 with --relative. Here is an artificial test that shows my problem in case 3). Any help would be appreciated. # mkdir -p /tmp/source/a/b /tmp/source/a/c # touch /tmp/source/a/b/hello /tmp/source/a/c/world 1) Try mirroring both b/ and c/, this works: # rsync -avn
2003 Jul 29
2
Help using --exclude
I'm running rsync v2.5.5 on FreeBSD 4.6.2-RELEASE. I'm using rsync to mirror the home directories of user's desktop machines. I would like to exclude the cache of browsers such as mozilla or netscape. Unfortunately I have not been able to find the right syntax for the --exclude option. I hope someone can give me some insight. The command I'm using is: rsync --archive
2002 Jul 15
1
rsync - how to exclude all and allow only some files/dirs
Hallo, i searched archive of list, google.com and found nothing suitable :( My problem is : i would like to rsync only directory /lib/modules/2.4.18-5 and nothing else. As a second condition i'd like to use rsync server at source side and suck files to the destination. The server module, let's name it [test], have "exclude from =/etc/exclude" and "include from
2014 Jan 30
1
excluding changed or deleted files from --backup
Hi, I use the options --backup and --backup-dir (in combination with --delete) to backup changed or deleted files. And for each rsync I use a different backup-dir so I keep all the deleted/changed files. Now I have some big files (> 50GB) that change every day but I only need one last version on my destination server. I want to have these files synced, but I don't want to have a --backup
2001 Nov 13
3
rsync exclude/include
I want to rsync only a small part of a directory tree. I've set up an exclude and an include file: exclude holds: /* include holds: /iso/1.5.*/i386 I am calling rsync using rsync -avz --include-from="include" --exclude-from="exclude" ftp3.sourceforge.net::/netbsd/iso iso/ but nothing happens. No files transfered. But I would expect rsync to transfer files: