> I'm trying to make an exclusions file in tar, but it isn't working. can
> anyone send me some examples or give me a format to follow? If i put
> /home/nathan/dl/ in the exclusions list, and launch tar from within
> /home/nathan it doesn't exclude dl, and so on.
Here's the command line that I use for tar in my crontab:
tar -cvpX /etc/noback --totals -f /dev/qft0 /
and here's the contents of /etc/noback (following the -X parameter)
/os2
/dos
So when I execute the above command from the root directory, it will back
up everything except /os2 and /dos (two mounted partitions that I back up
from within their respective operating systems).
As for your problem, you may want to consider running tar from the root
directory, or use relative rather than absolute references for
directories.
--
Jason Weill
[EMAIL PROTECTED]
http://www.weill.org
AOL Instant Messenger: JasonWeill
ICQ: 15697335