Automatic `nodump' flag?

Dag-Erling Smørgrav des at des.no
Wed Jan 30 10:13:58 PST 2008


Mikhail Teterin <mi+mill at aldan.algebra.com> writes:
> 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!

Hmm, shoudn't whichever backup tool you're using stop when it encounters
a nodump directory?  You shouldn't need to set nodump on the files
themselves.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-questions mailing list