Oracle Solaris System Administration (MOSC)

MOSC Banner

bart - how to ignore subdirecties

edited Oct 4, 2013 2:15AM in Oracle Solaris System Administration (MOSC) 6 commentsAnswered ✓
how do you code a rules file to ignore subdirectories and individual files?
I think the following fits the man page description but as you can see the manifest files are the same size:

bart create -r - | wc
/var
CHECK all
IGNORE contents

   38288  331864 4745757  <--- output of wc

bart create -r - | wc
/var
CHECK all
IGNORE contents

/var/tmp
IGNORE all

   38288  331864 4745757  <-- output of wc and matches above


uname -a
SunOS drteethtest 5.10 Generic_147440-25 sun4v sparc SUNW,SPARC-Enterprise-T5220
$cat /etc/release
                   Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC
  Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center