Automatic `nodump' flag?

Mikhail Teterin mi+mill at aldan.algebra.com
Wed Jan 30 09:06:03 PST 2008


Hello!

I'd like the entire contents of each user's .mozilla/firefox/*/Cache directory 
to be excluded from the regular filesystem dumps.

Running ``chflags -R nodump /home/*/.mozilla/firefox/*/Cache'' does the trick, 
but this needs to be redone daily -- prior to running the backup -- because 
new entries appear in the caches, obviously... The new entries don't have the 
nodump flag set.

Is there a way, the flag can be set automatically? For example, inherited from 
the directory? Thanks!

 -mi


More information about the freebsd-questions mailing list