similar to: --exclude and --delete

Displaying 20 results from an estimated 30000 matches similar to: "--exclude and --delete"

2008 May 30
1
CPAN mirroring exclude syntax assistance request
I'm running a local CPAN mirror and there is one recursive subdirectory I desire to exclude. I've tried many different syntax variations with no luck. Someone let me know where I'm going wrong: /usr/bin/rsync -av --delete --exclude '/src/***' --no-implied-dirs \ --delete-excluded --prune-empty-dirs ftp.funet.fi::CPAN /cpan-mirror/ Thanks. -- Love feeling your
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"
2007 May 18
2
files deleted without --delete option
Hello all, I want to copy all files on the SRC side to the DST side without deleteing any from the DST side. However, whenever I run rsync the files on the DST side are deleted if they were deleted from the SRC side. What am I doing wrong? I am running the following command: ======================================================== rsync -avz --progress --force --delete-excluded
2009 Jun 10
2
rsync excluded file syntax errors
I cannot figure out where I am going wrong with my excluded files syntax! rsync backups up those folders I'm trying to exclude. rsync -av --exclude-from=/etc/rsync_excluded.conf --delete root@polaris::polhome /pol_home_bkup cat /etc/rsync_excluded.conf - /home/agokhale - /home/anand - /home/asalazar etc. These are all top level folders with the same names. On the rsync server
2002 Nov 19
2
The exclude option of Rsync not work right.
Hello, Can someone explain why my exclude option is not excluding filles as instructed in my script below. I have tried multiple methods and still have been unsuccessful in excluding the one file "test.sql". The methods I have tried are: 1. Removing EXTRAFLAG variable -a 2. Removing using -a 3. Option --include infront of --exclude and behind of --exclude. 4. rsync /software/testdir/
2006 Jan 20
1
deleting remote dirs I no longer want to backup
Hi all, I have been using rsync to copy multiple dirs, eg: rsync -aR dira dirb /tmp Now, I no longer want to copy dirb, and I want it to be removed on the remote side, and I cannot figure how to achieve this. I tried: rsync -aR --exclude=dirb --exclude-deleted dira dirb /tmp but this has no effect. I have searched for similar posts, and found:
2007 Nov 15
1
Problem with --exclude command
Hi everybody, i want to exclude a set of directories of a rsync synchronization but i have a problem : ------------------------------------------- serv-dev:~/scripts_Admin# RSYNC_PASSWORD=xxxx /usr/bin/rsync -vv --checksum --recursive --links --exclude .svn/ --exclude test/ /var/www/ssl/ rsuser@192.168.130.1::ssl/ opening tcp connection to 192.168.130.1 port 873 opening connection using --server
2006 Mar 07
1
Fwd: Delete some excluded files in rsync
Begin forwarded message: > From: Karel Kulhavy <clock@twibright.com> > Date: 7 March 2006 18:01:43 > To: Martin Pool <mbp@samba.org> > Subject: Delete some excluded files in rsync > > Hello > > I suggest that a feature be added into rsync. That one could > separately > specify excluded files that should be deleted on the receiver and > excluded files
2003 Nov 25
3
Need help with exclude
Hi all, I am having *massive* problems trying to exclude a single directory from an rsync. I have serv1 and serv2. I am trying to rsync /foo/test from serv1 to /foo on serv2 I want to exclude the directory /foo/test/dir1 So I try: rsync -av --exclude-from=/foo/rsync.excludes /foo/test serv2:/foo rsync.excludes contains: /foo/test/dir1/ This is not working. I also try: rsync -av
2010 Apr 24
2
include/exclude Problem
Hi there I have a little problem to get my include / exclude working: I want to sync /etc /home and /usr/local (and all files/dirs beneath) to REMOTEHOST:/dest There are some huge files in /home which I want to exclued I have set up an include/exclude file but I still get too much files. Also the excluded file is synced /usr/bin/rsync -av --exclude-from=excl --delete --numeric-ids --relative
2003 Oct 30
2
AW: trying to figure out how the --delete option works.
Add this: --delete-excluded See the manual. Rainer -----Urspr?ngliche Nachricht----- Von: rsync-bounces+rsync=diplan.de@lists.samba.org [mailto:rsync-bounces+rsync=diplan.de@lists.samba.org]Im Auftrag von Mandrake Pe Gesendet: Mittwoch, 29. Oktober 2003 13:33 An: rsync@lists.samba.org Betreff: trying to figure out how the --delete option works. I use this comand to back up my entirely drive
2007 Jul 04
10
DO NOT REPLY [Bug 4764] New: Wrong include/exclude descriptions
https://bugzilla.samba.org/show_bug.cgi?id=4764 Summary: Wrong include/exclude descriptions Product: rsync Version: 2.6.8 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: tps@vr-web.de QAContact:
2013 May 27
1
Platform variations with --exclude-from
On Linux, an rsync command and exclude_file contents of: # cat exclude_file /etc/alsa # rsync -a --delete --delete-excluded --exclude-from=exclude_file /etc server::module properly excludes /etc/alsa but not any file within /etc's directories that is named alsa. On Windows I don't seem to be able to reliably emulate this: C:\Scripts\Backup\rsyncd>type rsyncd_exclude
2009 Aug 17
10
ssh failure due to local error
Readers, I have tried the following command: rsync -t *.txt ssh user at remote.machine: and receive the following error: rsync: link_stat "local/machinepath/ssh" failed: No such file or directory (2) rsync error: some files could not be transferred (code 23) at main.c(1031) [sender=3.0.2] My understanding of the manual is that the text files on my local machine should have been
2008 May 22
1
Request for exclude syntax assistance
I'm baffled by exclude syntax. I'm mirroring CPAN and am trying to exclude all files in the src/ directory. I've tried for days to figure this out and now throwing myself on the mercy of this list. Here's my current incantation: /usr/bin/rsync -av --delete --exclude '/src/**' --delete-excluded \ --prune-empty-dirs ftp.funet.fi::CPAN /cpan-mirror/ I've
2007 Apr 18
1
rsync daemon only accessable as root
Hi, I'm trying to setup an rsync daemon such that I can synchronize my home pc (or other remote system) with my pc at work. I'm fairly new to linux and am just starting to learn its amazing possibilities. I followed an online toturial to create a rsyncd.conf file which reads: #motd file = /etc/rsyncd.motd log file = /var/log/rsyncd.log pid file = /var/run/rsyncd.pid lock file =
2003 Dec 02
1
include directory, exclude contents
I'm using a simple client/server backup pull model rsync -a --delete -e ssh --exclude-from=$exclude path/$client.exclude \ ${client}-rsync:/ $path/$client but can't seem to find the right 'exclude' combination to fetch certain directories but not their contents. Unfortunately this was found during a recent major restore where the excluded directories had to be manually
2006 Dec 15
4
_exit_cleanup(code=12, file=token.c, line=419): about to call exit(12)
Hy all, I'm a new rsync user and my english may be poor. I try to sync two folders between two machines using ssh and 2.6.9 rsync version on each. My purpose is to sync only files called "*.lic" in each subfolders. On the source machine I want to sync : /home/dps3/public/Lic/Lic /home/dps3/public/Lic/Lic2 /home/dps3/public/Lic/Lic3 to /home/dps3/public/Lic/Lic9 On each
2019 Nov 14
2
hardlinking missing files from src to a dest: didn't work way I thought it would.
Am 14.11.19 um 10:54 schrieb Paul Slootman via rsync: > You need to specify the source directory as the link-dest directory. Hi, I tried it also because it's an old question which has never worked for me. Instead it creates copies and not hard links: pierre at in94:~/tmp$ ls -li a b a: insgesamt 8 257315 -rw-r--r-- 1 pierre pierre 4 Nov 14 10:53 1 257316 -rw-r--r-- 1 pierre pierre 6 Nov
2009 Dec 24
2
Include and Exclude
I thought this command would do what I wanted, but instead it doesn't transfer any files: rsync -avh --stats --password-file=/var/rsync.passwd --include=Maildir/ --exclude=* mail::root/usr/home /backup/usr/ I want to backup ONLY the /usr/home/*/Maildir directories. I don't want any other files from any other directories to be transferred. I can see in the man page where this is a