[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: --exclude behavior in tar seems to have changed

On Fri, Jun 09, 2000 at 12:15:20AM -0700, Matthew Thompson wrote:
> Whenever I wanted to make a big tarball image of my current installation,
> I always would log in as root, cd to /, and submit the following command:
> # tar --same-owner -czpvf /syjet/debmain.tgz --exclude=tmp/*
> --exclude=proc/* --exclude=syjet/* *

I can't say whether anything has changed at any point; but, I think you
want to use something like the following:

cd / && tar Sczvf /syjet/debmain.tgz --exclude tmp --exclude proc 
--exclude syjet

Reply to: