Re: tar a complete drive excluding one directory (solved)

2004-10-17 Thread Oliver Fuchs
On Sun, 17 Oct 2004, Radek Kozlowski wrote: > On Sun, Oct 17, 2004 at 03:24:45PM +0200, Oliver Fuchs wrote: > > Hi, > > > > I want in FreeBSD RELEASE 5.2.1 tar a complete / system except one directory > > e.g. /mnt where I want to store the tar archive. > > In linux I do: > > > > cd / > > tar cv

Re: tar a complete drive excluding one directory

2004-10-17 Thread Radek Kozlowski
On Sun, Oct 17, 2004 at 03:24:45PM +0200, Oliver Fuchs wrote: > Hi, > > I want in FreeBSD RELEASE 5.2.1 tar a complete / system except one directory > e.g. /mnt where I want to store the tar archive. > In linux I do: > > cd / > tar cvzf /mnt/root.bak-$(date +%Y%m%d).tar.gz . --exclude=proc --excl

tar a complete drive excluding one directory

2004-10-17 Thread Oliver Fuchs
Hi, I want in FreeBSD RELEASE 5.2.1 tar a complete / system except one directory e.g. /mnt where I want to store the tar archive. In linux I do: cd / tar cvzf /mnt/root.bak-$(date +%Y%m%d).tar.gz . --exclude=proc --exclude=mnt Trying this in FreeBSD is not accepted because tar is still trying to