OT: Regex question

Robert Serphillips yellowdog-general@lists.terrasoftsolutions.com
Fri May 3 16:14:01 2002


try using the --exclude switch to omit houseofbig.com

look under the man pages. 

something to this effect 
tar -czvf backup.tar.gz /path/to/[a-z]* --exclude /path/to/houseofbig.com

this won't include any hidden file.

-Rob

On Fri, 3 May 2002 13:01:45 -0500
Gawain <lists0501@guitar.net> wrote:

> I want to eliminate a directory from a nightly backup script. Being a 
> bit of a regex newbie I'm scratching my head.
> 
> Here's what I've got so far:
> 
> tar -czf /path/to/[a-z]*
> 
> I'd like to keep that rule (omitting directories beginning with a 
> capital) and also omit a directory named "houseofbig.com". How would 
> I do this?
> 
> Thanks in advance for your help.
> 
> Gawain
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general