[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ProgSoc] tar - don't do filesystem mounts
On Wed, 21 Nov 2001 14:01, you wrote:
> Is it possible to get tar to skip filesystem mounts?
> eg, /usr is a filesystem, and I want to tar everything in / except for
> /usr and any other filesystem mounts.
from man tar:
exclude file FILE
-X, --exclude-from FILE
exclude files listed in FILE
tar -cfvX /dev/rmt/0h ./excludeList /home/apache /home/jetStream
where exclude list has directors, one per line:
firstname.lastname@example.org PowerSource Software
Technical Director http://www.powersource.com.au
Gentlemen! You can't fight in here, this is the
War Room! - President Merkin Muffley
JetStream Dynamic Content Engine(TM)
a dynamic & adaptive content accelerator
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to email@example.com.
If you are having trouble, ask firstname.lastname@example.org for help.