Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Jay Olson <jjo@triton.com>
To: mred@neosoft.com
Subject: Re: TAR
Date: 1996/09/16	[thread overview]
Message-ID: <323DC23F.7FA7DE27@triton.com> (raw)
In-Reply-To: 51l690$286@uuneo.neosoft.com


mred@neosoft.com wrote:
> 
> On tar I want to exclude some files which I do not even have read permission
> on.  So, I have something similar to:
> 
>     tar -cvf arc.tar -e ./quota.user -e ./quota.group -C /mydir .
> 
> The problem is that tar is still showing me "Permission denied" on these
> files, even though I've told it to exclude them.  My exclusion works on other
> files, specifically, ones I have group access to.
> 
> The reason I need tar to be totally silent is because I want to cron it, and
> even redirecting tar to /dev/null does not quiet it.  So, I get stuck with
> mail every day.
> 
> It seems strange that tar would check files which I told it to exclude.
> 
> -Ed-
> mred@neosoft.com
> http://www.neosoft.com/~mred/

In order to silence cron, I believe you have to redirect both stdout and
stderr. In sh, the syntax is

	command args >output 2>&1
-- 
	- Jay Olson (jjo@triton.com)
	Triton Software Group Ltd.



      reply	other threads:[~1996-09-16  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-17  4:00 TAR mred
1996-09-16  4:00 ` Jay Olson [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox