On Thursday 19 January 2006 14:39, Daniel Holtkamp wrote: > Hi ! > > This is the Fileset definition: > FileSet { > Name = "Fileserver" > Include { > Options { > exclude = yes > wilddir = "/var/tmp" > wilddir = ".recycle" > wilddir = "/var/www/intranet/html/support/patches/daily" > regexdir = "/var/[cache/man|catman]/[cat?|X11R6/cat?|local/cat?]" > compression=GZIP > signature=SHA1 > } > File = / > File = /home > File = /usr > File = /var > } > Include { > Options { > exclude = yes > wilddir = ".recycle" > aclsupport = yes > compression=GZIP9 > signature=SHA1 > } > File = /export > } > Include { > Options { > regexdir = "/var/[cache/man|catman]/[cat?|X11R6/cat?|local/cat?]" > keepatime=yes > mtimeonly=yes > compression=GZIP > signature=SHA1 > } > File = /var/tmp > } > Exclude { > File = .autofsck > File = /proc > File = /tmp > File = .journal > } > } > > As you can see the ".recycle" directories are to be excluded. > > Checking the file-list reveals this: > > /export/sekretar/.recycle/winword/clients/xxx/ag/ > > > /home/rry/.recycle/useful/ > > > /home/rry/.recycle/zip/ > > > /home/rry/.recycle/pvr/ > > > /home/rry/.recycle/diskette/ > > > /home/ickl/.recycle/backup/cvs/ > > > /home/ickl/.recycle/backup/ > > > /home/bel/.recycle/source/ > > > /home/iora/.recycle/Pics/Rio/ > > (and lots more of course) > > Is it because the directories start with a . ?
I don't think so. More likely it is because a wildcard specification is anchored at the beginning of a line unless you start it with a asterisk. When you wilddir, don't forget that what you ar matching against is the *full* path including a slash at the end. As an example (if I remove slashes and periods), if you have a file with a name "home-iora-recycle-Pics-Rio" in the current directory and you enter: "ls recycle" it is going to print nothing, but if you enter, "ls *recycle" it will print home-iora-recycle-Pics-Rio It may also print many other filenames that you do not want to see such as home-abcrecycle-xxx -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users