[interchange-docs] xmldocs - docelic modified glossary/expire

docs at icdevgroup.org docs at icdevgroup.org
Mon Jun 4 05:25:40 EDT 2007


User:      docelic
Date:      2007-06-04 09:25:40 GMT
Modified:  glossary expire
Log:
* Moved position of -depth option, as reported
  by  Grant <emailgrant at gmail.com>. Thanks.

Revision  Changes    Path
1.5       +1 -1      xmldocs/glossary/expire


rev 1.5, prev_rev 1.4
Index: expire
===================================================================
RCS file: /var/cvs/xmldocs/glossary/expire,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- expire	12 Aug 2006 22:43:11 -0000	1.4
+++ expire	4 Jun 2007 09:25:40 -0000	1.5
@@ -90,7 +90,7 @@
   for i in session tmp; do
     if test -d "$DIR/$i"; then
       find $DIR/$i -type f -mmin +480 | xargs --no-run-if-empty rm
-      find $DIR/$i -type d -empty -mtime +2 -depth | xargs --no-run-if-empty rmdir
+      find $DIR/$i -depth -type d -empty -mtime +2 | xargs --no-run-if-empty rmdir
     else
       echo "$0: $DIR/$i doesn't exist.";
     fi








More information about the docs mailing list