Re: Using hdup 2.0.0

Miek Gieben <[email protected]> Mon, 15 Nov 2004 21:33:18 +0100
Newsgroups gmane.comp.sysutils.backup.hdup.general
Message-ID <[email protected]>
[On 11 Nov, @ 15:00, Boris wrote in "[hdup-user] Using hdup 2.0.0 ..."]
> It would be great to get some of the rules and examples into the man
> page at some point.

I'm adding the following:

PATTERNS
  The include and exclude keywords take regular expression as there input.
  There  is  one extra rule. If an expression ends with a slash '/' it is only
  applied to directories. A '/' in a different place is not handled specially.

  The whole pathname of a file or directory is used in the pattern  matching.
  The  pattern matching is case sensitive.

 Examples
   To match all files ending with .txt use the pattern .*.txt.  To match 
   everything file under opt, use ^/opt. To match a specific directory in /opt,  use
   ^/opt/bla/,  note  that  this excludes all directories which start with
   this string.

   If  you  want  to match a single directory you must supply the full pathname
   and a leading '/'.



If people have additions please let me know. Tomorrow I will release hdup2 as
the new stable release. This will mean hdup1.6 is no longer supported, i.e. if you
have issues (security wise, bugs whatever) with hdup1.6 my reply will be: 
'upgrade' :-)

Note: this is not a big deal, install glib-dev and compile hdup2, if you were not
using the include/exclude stuff its a drop-in replacement.

grtz Miek