similar to: idea: include/exclude files by mime type (use magic like file(1) does)

Displaying 20 results from an estimated 40000 matches similar to: "idea: include/exclude files by mime type (use magic like file(1) does)"

2009 May 21
2
magic.mime dependency problem between file and httpd
Hi everyone! :-) While doing a regular manual yum update on my ContOS 5.3 server, yum complained as follows: [root at sith ~]# yum update Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile * epel: ftp.icm.edu.pl * rpmforge: ftp-stud.fht-esslingen.de * base: centosb2.centos.org * updates: centose.centos.org * extras: centosb2.centos.org * addons:
2009 Jun 03
1
yum best policy && magic.mime problem (httpd update)
Hi! I have 2 questions : 1. I heard about an best and all policy with yum for 64bit arch .. how can i change the policy to best as is annoying to have doubled packages when i need only the 64bit ones ... 2. i try to update the apache and i have this : --> Processing Dependency: /usr/share/magic.mime for package: httpd --> Finished Dependency Resolution httpd-2.2.3-22.el5.centos.1.x86_64
2002 May 19
1
exclude vs include
My understanding of the man page description of --exclude vs. --include is that the list of these is kept in order, and file names are searched against these parameters in that order for the first that matches and that one makes the decision. It doesn't seem to be working exactly as expected. But there is a factor involved that's making it unclear, which is whether or not *'s should
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
2007 Jun 01
1
Trying to define exclude with an include list
I need to backup a set of machines that are very similar in nature. I had created an exclude list to backup everything except whats in my list. I then used the --exclude-from=myexcludefile so rsync would not copy unwanted files. eg: /tmp /var/tmp /var/lock .... long list of others /u1 I have 2 drives on each machine and up until now I have no need to be backing up the 2nd drive. Thats what the
2004 Mar 27
1
--include vs. --exclude
It guess I still haven't figured out the entire sematics of the --include and --exclude options. From reading the man page, it seems to say that what happens is that each file being checked is tested against each pattern in order, and when one matches the tests end, and whether it is --include or --exclude determines if that file is included or excluded. So I have on my server a big file
2002 Feb 26
1
Include exclude not working
Hi! playing with --include, --exclude, and --exclude-from=file I found these not working: xcnlm00s:/etc/adsm/script # rsync -navx --include="*/" --exclude="*" -e ssh newsfeed:/ receiving file list ... done wrote 29 bytes read 28605 bytes 3014.11 bytes/sec total size is 0 speedup is 0.00 xcnlm00s:/etc/adsm/script # rsync -navx --exclude="*"
2006 Apr 15
2
include and exclude file
hi i try to include and exclude file when i do a rsync #!/bin/sh # directory to backup BDIR=/home/collinm/test/home # includes file - this contains a wildcard pattern per line of files to exclude INCLUDE=include.txt # excludes file - this contains a wildcard pattern per line of files to exclude EXCLUDE=exclude.txt OPTS="-a -r -v -p -t --delete-before --exclude-from=$EXCLUDE
2009 Jan 25
1
Include/Exclude problems
hi, I am trying to rsync a very large filesystem which is about 3TB, but naturally I want to exclude a lot of things. However, I am really struggling with excluding directories. SRC=/dasd/december/2008 #Notice there is no trailing slash TARGET=/backup/december/2008 #Notice there is no trailing slash I want to exclude /dasd/december/2008/Data /dasd/december/2008/Logs
2003 Feb 06
1
Trouble with include/exclude patterns
I'm using rsync 2.5.4 on my RedHat 7.3 client laptop and rsync 2.5.5 on my RedHat 8.0 server. On the client, I have a directory "rpm" with 5 subdirectories, out of which I only want to copy the one called SRPMS across. I also have another directory ".mozilla" out of which I want to copy across 2 files. I have constructed the following rsync invocation: rsync -e ssh -av
2010 Dec 19
0
[PATCH v2] am: Allow passing exclude and include args to apply
am already allows to pass several flags to apply as directory or reject, but not yet the exclude and include args. When porting dash patches from dash git to klibc git, where dash has a different directory structure, the exclude and include am switches are handy: Exported with format-patch on dash side and used am as import for klibc side. Cc: klibc at zytor.com Cc: Thiago Farina <tfransosi
2004 Apr 21
2
exclude-from and include-from confusion
Learning rsync (love it) and am requesting some help in understanding the exclude-from/include-from rules. I've been doing some testing and the results aren't coming out as I expected. Problem: I have a directory with several dozen sub directories and would like to selectively pick a couple dozen directories to remotely copy. The issue is that there are a large number of directories and I
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
2012 Oct 19
1
Understand include exclude script
hi i use a script to backup my homedir, that work but there are somes things i don't really understand. here my script rsync -arv --delete --prune-empty-dirs --include-from=include.txt --exclude-from=exclude? /home/bob /media/usbkey include.txt file + .Skype/*** + .local/ + .local/share/ + .local/share/local-mail/*** + .mozilla/*** - .** exclude.txt file Desktop/ Download/ .* I have a
2001 Jul 25
0
Include/Exclude Problem
On Fri, Jul 20, 2001 at 05:17:30PM -0500, Perry Hoekstra wrote: > I am trying to rsync a list of files from one list to another. I went > back about five months on the mailing list archive and found this > message: > > On Tue, Mar 20, 2001 at 03:21:54PM > > It is possible to build your own complete list of files to copy and give > them all to rsync, by building a
2001 Nov 13
1
rsync exclude/include [FIDUCIA virengeprüft - ohne Gewähr, daß alle bekannten Viren und deren Varianten erkannt wurden.]
Hi again! Tomasz Ciolek <tmc@goldweb.com.au> on 13.11.2001 01:21:27 An: Thomas Schweikle <tschweikle@fiducia.de> Kopie: Thema: Re: rsync exclude/include [FIDUCIA virengepr?ft - ohne Gew?hr, da? alle bekannten Viren und deren Varianten erkannt wurden.] > Try dumoping the whole file list into a text file, prefix each one with > minus for exclude and a + for
2009 May 10
3
Missing Dependency: /usr/share/magic.mime
Can someone help me figure out what I have to do about to get update to work with this happening: Resolving Dependencies --> Running transaction check ---> Package kexec-tools.i386 0:1.102pre-56.el5_3.2 set to be updated ---> Package file.i386 0:4.17-15.el5_3.1 set to be updated ---> Package pango.i386 0:1.14.9-5.el5.centos set to be updated ---> Package pango-devel.i386
2004 Feb 25
2
exclude everything and include directories
I'm trying to update some laptops from a large server directory for an EDA app. Most of the time I just rsync the entire directory and exclude the odd item. In this case it's the reverse where I want to exclude everything but include only the odd directory. I thought it'd be easy but can't seem to get the exclude then include options correct. It seems that when you exclude
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:
2003 Jan 21
1
is there a way to make rsync include/exclude options case insensitive?
Dear People, A friend asks ************************************************************* For the rsync include/exclude options is there a way to make it case insensitive? What I mean is that --exclude "*.pdf" would exclude "*.PdF" and "*.pdF" as well. I am looking for something like the -i switch for grep.