RE: Tar Exclude

2002-11-13 Thread dashielljt
You want to have /proc in that exclude along with /tmp. Jude <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http:

Re: Tar Exclude

2002-11-13 Thread Steven Smith
> I have a script that tars a all the sub directories of a directory into > individual tar files for each subdirectory. I have an exclude file that > is set to skip some of the folders I don't want tarred. This works but > it creates the empty tar files. Is this normal? Yes. It is, in fact, exactl

RE: Tar Exclude

2002-11-13 Thread Mike Dresser
On Wed, 13 Nov 2002, Paul Kraus wrote: > I removed /backup/ from all of them. > > Advserver > Logs > Ect. > > And like before it stills excludes them by not tarring there contents > but it does create the 10k empty tar file. Sorry, I got completely sidetracked with the idea of excludes not workin

RE: Tar Exclude

2002-11-13 Thread Mike Dresser
On Wed, 13 Nov 2002, Paul Kraus wrote: > Also I just noticed I get an error about removing leading / from member > names. > > Here is my archive.exclude > /backup/advserver > /backup/logs > /backup/lost+found > /backup/scripts > /backup/tar.archive > Try putting backup/advserver backup/logs ba

RE: Tar Exclude

2002-11-13 Thread Paul Kraus
, 2002 10:26 AM To: 'Mike Dresser' Cc: '[EMAIL PROTECTED]' Subject: RE: Tar Exclude Here is the script -- exceptions=/backup/scripts/archive.exclude dt=`date +%A` cd /backup for filestotar in `ls --almost-all --directo

RE: Tar Exclude

2002-11-13 Thread Paul Kraus
day, November 13, 2002 10:22 AM To: Paul Kraus Cc: [EMAIL PROTECTED] Subject: Re: Tar Exclude On Wed, 13 Nov 2002, Paul Kraus wrote: > When running tar with the exclude set tar creates a 10k empty tar > file. > > I have a script that tars a all the sub directories of a directory &g

Re: Tar Exclude

2002-11-13 Thread Mike Dresser
On Wed, 13 Nov 2002, Paul Kraus wrote: > When running tar with the exclude set tar creates a 10k empty tar file. > > I have a script that tars a all the sub directories of a directory into > individual tar files for each subdirectory. I have an exclude file that > is set to skip some of the folder