Hi Ian,
How can I use tmpwatch or something else to just delete files with a
certain extension instead of everything in the directory, I want to
automatically clean up .zip files that are older than 1 week in a
specific directory
How about
find {dir} -name '*.zip' -maxdepth 1 -mtime +7
How can I use tmpwatch or something else to just delete files with a
certain extension instead of everything in the directory, I want to
automatically clean up .zip files that are older than 1 week in a
specific directory
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED
Hi,
When passing an unknow option to tmpwatch it sigsegv,
this is due to the struct options used by getopt_long not terminated by NULL;
Here is the patch :
--- tmpwatch.c.orig Wed Dec 15 16:26:00 1999
+++ tmpwatch.c Wed Dec 15 16:26:31 1999
@@ -271,6 +271,7 @@
{ "quiet"
At 18:17 15.12.99 , Vandoorselaere Yoann wrote:
Hi,
When passing an unknow option to tmpwatch it sigsegv,
this is due to the struct options used by getopt_long not terminated by NULL;
Here is the patch :
--- tmpwatch.c.orig Wed Dec 15 16:26:00 1999
+++ tmpwatch.c Wed Dec 15 16:26:31 1999
Franz Sirl [EMAIL PROTECTED] writes:
At 18:17 15.12.99 , Vandoorselaere Yoann wrote:
Hi,
When passing an unknow option to tmpwatch it sigsegv,
this is due to the struct options used by getopt_long not terminated by NULL;
Here is the patch :
--- tmpwatch.c.orig Wed Dec 15 16:26:00
On Tue, 5 Oct 1999, Albert E. Whale wrote:
/usr/sbin/tmpwatch -v -v --test 48 /tmp /var/tmp
Just tried it...
found directory entry rc.d
cleaning up directory rc.d
found directory entry init.d
cleaning up directory init.d
...and saw all this too. I nearly had a heart-attack. :)
Turns