similar to: Exclude files only (only sync folders)

Displaying 20 results from an estimated 100000 matches similar to: "Exclude files only (only sync folders)"

2009 Mar 02
6
How to speed up rsync when haveing lots of files
Hello List, unfortunatelly rsync is beeing REALLY slow and produces a high load when we try to sync lots of files (>250 000 small files). My experience is, that this is fatser if i do it folder by folder. Is there a rsync option which reduces the load and speeds up the rsync somehow? Thanks, Mario
2009 Mar 19
2
Problem with exclude folders
Hi rsync list! I have a problem with the exclude-from and include-from options. I want sync all jpeg files to an external server - exclude HK and texts folders and jpg inside this folders. My folder structure are: /products/ANYNAME/pictures/EU /products/ANYNAME/pictures/HK /products/ANYNAME/texts ... my include-from file: */ *.JPG *.jpg my exclude-from file: */HK/ */texts * my rsync
2007 Jun 30
1
Exclude all but include select folders
Hi, I'm trying to rsync up to some centos repositories, but I only want to pull down the i386 and i386_64 folders with their RPMs, I've tried various combinations and include and exclude, and I'm sure that the below should work, but it doesn't... SOURCE=rsync://mirror.stanford.edu/mirrors/centos rsync -avrt $SOURCE --include=i386/ --include=*/ --exclude=* /var/www/html/centos/
2009 Mar 04
3
Sync files not folders non recursively
Hi all, I am now trying to find a solution to my problem for quite some time. I hope you can help. What I am trying to do is to simply sync files with a special suffix to a destination folder. So I dont want to transfer recursively but I want to delete files from the destination which are not in the source anymore. Closest I have gotten is using this command: /usr/bin/rsync -dnolptgvze --delete
2008 Feb 19
2
understanding the ldap backend
Hello List, i am trying to understand the LDAP-backend i just set up. Maybe someone can help me a little understanding the whole magic. In smb.conf i have my smbldap-tools scripts: # use the smbldap-tools scripts add user script = /usr/sbin//smbldap-useradd -m "%u" delete user script = /usr/sbin//smbldap-userdel "%u" add machine script = /usr/sbin//smbldap-useradd -w
2010 Oct 22
3
include-from or files-from
Hello List, i have got a large File-List which looks like this: ...snip... 165/165950*.jpg 166/166072*.jpg ...snap.... Now i would like to transfer only those file from that list. The rsync command: rsync -avz -F --files-from=/tmp/synclist-small.txt /mnt/ /data/ does not seem to work due to that wildcard. The command: rsync -avz -F --include-from=/tmp/synclist-small.txt /mnt/ /data/ syncs
2008 Jan 25
1
Weird reproduceable delta after power failure - PDC
Hello List, i am using Ubuntu Server 6.06 with the smbldap installer script from majen.net/smbldap/ I am using VMWare to run my test systems (Ubuntu server and Windows Domain Clients) After producing a power supply failure (stopping my Ubuntu and windows client by the stop button in vmware) and starting them up again i can see a delta in my ldap database: Before Power failure:
2009 Aug 18
2
rsync 3.0.4 under cygwin: problems with --exclude
Hi all, I'm trying to backup a disk using rsync but I need to exclude some folder. I'm using rsync 3.0.4 under cygwin on a winxp machine. The script that I use is: # ---------------------------------------------------------------- # SRCDIR=/cygdrive/d LOGDIR=/cygdrive/f BCKDIR=/cygdrive/f/Backup rsync -auv --progress --delete --delete-excluded --log-file=$LOGDIR/`date +%Y%m%d`.log
2011 Jan 20
5
DO NOT REPLY [Bug 7927] New: Rsync does not sync folders named "tags"
https://bugzilla.samba.org/show_bug.cgi?id=7927 Summary: Rsync does not sync folders named "tags" Product: rsync Version: 3.0.3 Platform: x86 OS/Version: Linux Status: NEW Severity: major Priority: P3 Component: core AssignedTo: wayned at samba.org ReportedBy: bugzilla at
2015 Feb 28
2
rsync slow exclude folder
Hi, Rsync. rsync version 3.0.9 protocol version 30 rsync -a --exclude="tmp/*" /home/ /backup/home/ It is necessary that the contents of the folder tmp copy, but the folder tmp in backup was created. If the folder /home/tmp/ is many millions of files, rsync think of this folder can be seen through the lsof -p PID If you do so: rsync -a --exclude="tmp/" /home/
2009 Jan 23
4
How to build xen 3.3.1 and linux-2.6.27-xen.hg from source?
Hello List, how do i build xen 3.3.1 and linux-2.6.27-xen.hg from source? Here is what i tried: ---------------------------------------- cd /usr/src hg clone http://xenbits.xensource.com/ext/linux-2.6.27-xen.hg cd /usr/src/xen-3.3.1 Then i changed LINUX_VER from 2.6.18 to 2.6.27 in buildconfigs/mk.linux-2.6-xen. The files mk.linux-2.6-xen0 and mk.linux-2.6-xenU seem to be obsolete. After
2007 Jan 28
3
has this been asked about before ? multilple exclude files
I'm was wondering if this has been asked about/for multiple exclude-from files ? Where I could find this useful is say I had a common or base exclusion list for all my AIX boxes --exclude-from=/foo/aix_base Then be able to add for say all my AIX boxes that are running SAP --exclude-from=/foo/aix_base --exclude-from=/foo/sap or --exclude-from=/foo/aix-base,/foo/sap and so on ...
2014 Nov 13
1
rsync prevent destination only new folders but need new files
Good day to all! I'm doing git file replication task and need to sync source destination, using below sync command. rsync -atnvv --existing --exclude '.git' --progress source/ destination/; Here I, 1) need only sync directories that *exist on destination* ,no new folders should copy from source - [used --existing did the job but it not copying new files also.] 2) need to copy
2003 Mar 22
5
CYGWIN Rsync exclude/include problem
I'm having troubles with getting rsync 2.5.5 (CYGWIN version) to include/exclude files they way I expect it to. I have mulled over the list postings and man pages regarding this and I am either missing something or ... well I don' know. I have a drive with 12 folders in the root however, I only want to rsync 5 of them (the ones marked with an *) and in those 4 I want to exclude certain
2018 Dec 04
4
Exclude and delete or not delete
Hello I'm looking for a way to exclude and delete some items but not delete other items. Use case: I'm on Windows where there are folders like recycle.bin and system volume information on every drive. I can exclude them while backing up my data drive. But I now also have other data that is excluded and that I want to delete from my existing backup. However if I use --delete-excluded then
2003 Nov 25
1
Exclude files bigger than X
Hello List! I want to rsync a few homedirectories which also contain big *.tar or *.bin files. Does rsync have a option where it will NOT transfer files which are bigger than X MB/GB. I did have a look in man rsync, but could not really find what i am lookig for. If rsync does not have that feature, is there a workaround? Cheers, Mario -- GMX Weihnachts-Special: Seychellen-Traumreise zu
2007 Jun 14
2
Compression and Excludes not working
Hello, Using rsync 2.6.9: --compress-level=9 brings up an error "Command not found". Also this command: rsync -e "ssh -p 2222" -axzvc --progress --stats patwa@patwanet.co.uk:/home/patwa --exclude=/home/patwa/public_html/dl/ --exclude=/home/patwa/public_html/jithwish/ --exclude=/home/patwa/public_html/senaka/ /home/H/HGBackup13062007 ; sync Works in that it transfers the
2005 Jun 28
1
Question about include/exclude rules
Hi all, I'm trying to made a filtered backup of a windows PC. My target is to create a recursive backup of "only" files reported in the include/exclude files (i.e. only *.txt). the rules (reported below) work well, but also create an empty folders structure that I don'want. Rsync works fine for me (the rules are reported below) except a point, rsync create an empty folders
2020 Aug 03
2
feature request: exclude from path
So I've gotten excluding paths to work as a standalone command. When I paste this into a script however, it ignores the exclusions. Any advice? rsync -aXvr --times --links --exclude={'*.vdi','*.vmdk','*.ova','*.qcow2','.config/discord/'} /home/path/ user at nas:/NAS/HOME/destination/ Are there supposed to be some kind of brackets around this?
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