On Mon, Aug 01, 2005 at 08:24:33AM -0500, Shawn Fertch wrote:
> I'm working on getting a backup script to work that uses gnu tar and
> the --exclude option.
> 
> Here's my script:
> 
> mt -f /dev/st0 rewind
> cd /
> tar cpf /dev/st0 --directory / --exclude /proc --exclude /mnt  .

  Man page shows --exclude=PATTERN (with the equal sign).

> mt -f /dev/st0 rewind
> tar tvf /dev/st0 >> /home/shawnf/backup.log
> mt -f /dev/st0 offline
> 
> When looking at the tvf output, I'm seeing the excluded filesystems
> still within the tarball:
>