[CentOS] Another Tar stopper

Les Mikesell lesmikesell at gmail.com
Tue Sep 12 16:40:10 UTC 2006


On Tue, 2006-09-12 at 12:00 -0400, Robert Moskowitz wrote:
> >   
> >> I'd send STDOUT and STDERR to separate logs for brevity's sake.
> >> Something like...
> >>
> >> tar czvf $destfile $tobetarred > /tmp/tarlog.std 2> /tmp/tarlog.err
> >>     
> >
> > If you want to have it brief - why the "v"?
> >   
> Becuase then at least I might see what files were being processed when 
> the tar stopped?

Tar shouldn't have stopped regardless of complaints about files that
are unreadable or disappear.  If you are sure it isn't completing
try running it with 'strace' and look at the system errors when
it dies.

-- 
  Les Mikesell
   lesmikesell at gmail.com





More information about the CentOS mailing list