* Re: TAR
1996-09-17 4:00 TAR mred
@ 1996-09-16 4:00 ` Jay Olson
0 siblings, 0 replies; 2+ messages in thread
From: Jay Olson @ 1996-09-16 4:00 UTC (permalink / raw)
To: mred
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* TAR
@ 1996-09-17 4:00 mred
1996-09-16 4:00 ` TAR Jay Olson
0 siblings, 1 reply; 2+ messages in thread
From: mred @ 1996-09-17 4:00 UTC (permalink / raw)
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1996-09-17 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-17 4:00 TAR mred
1996-09-16 4:00 ` TAR Jay Olson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox