Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
manpage re_format [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
manuels
Advocate
Advocate


Joined: 22 Nov 2003
Posts: 2146
Location: Europe

PostPosted: Fri Feb 27, 2009 5:42 pm    Post subject: manpage re_format [solved] Reply with quote

Hallo,

ich möchte, dass boxbackup einige Ordner nicht ins Backup einbezieht:

Hierzu sagt boxbackup folgendes:
Code:
# The exclude directives are of the form
#
#       [Exclude|AlwaysInclude][File|Dir][|sRegex] = regex or full pathname
#
# (The regex suffix is shown as 'sRegex' to make File or Dir plural)
#
# For example:
#
#       ExcludeDir = /home/guest-user
#       ExcludeFilesRegex = *.(mp3|MP3)$
#       AlwaysIncludeFile = /home/username/veryimportant.mp3
#
# This excludes the directory /home/guest-user from the backup along with all mp3
# files, except one MP3 file in particular.
#
# In general, Exclude excludes a file or directory, unless the directory is
# explicitly mentioned in a AlwaysInclude directive.
#
# If a directive ends in Regex, then it is a regular expression rather than a
# explicit full pathname. See
#
#       man 7 re_format
#
# for the regex syntax on your platform.

Die Manpage zu re_format existiert aber auf meinem Rechner gar nicht. Weder die 7er noch irgendeine andere.

Ich habe es folgendermaßen probiert einige Verzeichnisse vom Backup auszuschließen:
Code:
BackupLocations
{
        etc
        {
                Path = /etc
        }

        manuel
        {
                Path = /home/manuel
                ExcludeDir = /home/manuel/Download
                ExcludeDir = /home/manuel/Downloads
                ExcludeDir = /home/manuel/Eigene\ Musik
                ExcludeDirsRegex = /home/manuel/.mozilla/firefox/\*/Cache
                ExcludeFilesRegex = \*\~$
        }
}
aber der Firefox-Cache, *~-Dateien und meine Musik werden trotzdem abgespeichert.
Wenn ich keine Backslashes verwende, mäckert Boxbackup wegen falscher regulärer Ausdrücke.

Wie müssen die regulären Ausdrücke denn jetzt aussehen?

_________________
Build your own live cd with catalyst 2.0!


Last edited by manuels on Tue Mar 03, 2009 8:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
manuels
Advocate
Advocate


Joined: 22 Nov 2003
Posts: 2146
Location: Europe

PostPosted: Mon Mar 02, 2009 2:35 pm    Post subject: Reply with quote

hmm, PFL kennt die Datei auch nicht.
_________________
Build your own live cd with catalyst 2.0!
Back to top
View user's profile Send private message
mastacloak
Apprentice
Apprentice


Joined: 01 Aug 2004
Posts: 174
Location: Berlin / Germany

PostPosted: Mon Mar 02, 2009 6:50 pm    Post subject: Reply with quote

Wie's aussieht handelt es sich um eine *BSD-manpage:
http://www.freebsd.org/cgi/man.cgi?query=re_format&sektion=7
Schaut man unter Linux auf
Code:
man regex

und schaut sich dann mal Sektion 7 von regex an
Code:
man 7 regex

lann man eine gewisse Ähnlichkeit zwischen den man-pages in der Sketion 7 für re_format und regex erkennen. ;-)

Gruß
Back to top
View user's profile Send private message
manuels
Advocate
Advocate


Joined: 22 Nov 2003
Posts: 2146
Location: Europe

PostPosted: Tue Mar 03, 2009 8:07 pm    Post subject: Reply with quote

Tatsache, danke
_________________
Build your own live cd with catalyst 2.0!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum