ArGest Backup User Guide

  1. Home
  2. Docs
  3. ArGest Backup User Guide
  4. Appendix
  5. Appendix I – The brutalk File

Appendix I – The brutalk File

The bruxpat File

# This file is used by the -X option to provide
# an inclusion/exclusion list. For each
# pathname of a file selected for backup,
# each line of this file is examined for a
# pattern and that pattern is applied to the
# pathname. If the pattern matches, the
# appropriate action is taken (the pathname
# is accepted or rejected). If the pathname
# makes it through all the patterns, it is
# accepted.
#
# Each command line in the bruxpat file (the
# file you are now reading) consists of a
# control field and a pattern. The
# pattern is separated from the control
# field by whitespace. Control field
# characters are:
#
# i Include this pathname if pattern
# matches. The pathname is accepted and
# no further patterns are applied.
#
# *** NOTE ***
# bru stops trying on the first pattern
# match found and passes the filename.
# Since it scans patterns in the order
# listed, include patterns should
# usually be listed before any exclude
# patterns.
#
# x Exclude this pathname if pattern
# matches. The pathname is rejected
# and no further patterns are applied.
#
# s The pattern is a shell-style wildcard
# pattern except that ‘/’ characters are
# not treated as special characters.
#
# r The pattern is a regular expression
# (the same as used by the “grep” command).
#
# l The pattern is a literal string.
#
#
# Include the C runtime startup file but
# exclude all other object files.
#
is */crt0.o
xs *.o
#
# Exclude all core files
#
xs */core
xs core
#
# Exclude all files and subdirectories in
# the temporary directories.
# Handle files specified with relative and
# absolute pathnames.
#
xs ./usr/tmp/*
xs /usr/tmp/*
xs ./tmp/*
xs /tmp/*
#
# the bruxpat file also tracks files that should
# be excluded from compression attempts (-Z).
# Files and patterns listed here are not
# compressed.
#
zs *.[zZ]
zs *.gz
zs *.arj
zs *.bz
zs *.bz2
zs *.mp3
zs *.gif
zs *.zip