> > tar -cvzf /backup/win.tar /root/peon/ --exclude-from > /root/cron/bkup_cfg/win_exclude > > and my win_exclude file contains: > '*/Internet/*' > > The problem is that the moment I include the exclude-from option, tar > refuses to run. I don't get any errors though. So, suspect my usage of > the exclude-from option is wrong (though this seems fine based on what the > man pages tell me, and what info I could find online), or the contents of > my win_exclude file is wrong. I read the details at > http://www.gnu.org/software/tar/manual/html_mono/tar.html#SEC90, and the > section below that one, and it seems I'm trying to do things right. > > Can any tar guru's shed some light on this? In particular, I want to grab > everything on the share point, but ignore certain folders. >
I do not think you can specify a driectory in the exclude-from file. You must list each file. Wilcards do apply however. so mydir/* will work The file paths need to be relative to where you are running the command from. No quotes. AFAICT Andy _______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca

