You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by js...@apache.org on 2007/08/29 09:33:42 UTC

svn commit: r570668 - /activemq/scripts/activemq-snapshots-clean.sh

Author: jstrachan
Date: Wed Aug 29 00:33:41 2007
New Revision: 570668

URL: http://svn.apache.org/viewvc?rev=570668&view=rev
Log:
Made the clean snapshots script ignore directories

Modified:
    activemq/scripts/activemq-snapshots-clean.sh

Modified: activemq/scripts/activemq-snapshots-clean.sh
URL: http://svn.apache.org/viewvc/activemq/scripts/activemq-snapshots-clean.sh?rev=570668&r1=570667&r2=570668&view=diff
==============================================================================
--- activemq/scripts/activemq-snapshots-clean.sh (original)
+++ activemq/scripts/activemq-snapshots-clean.sh Wed Aug 29 00:33:41 2007
@@ -1,5 +1,5 @@
 #!/usr/local/bin/bash
 
-find /www/people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/ -mtime +7 -exec rm {} \; 
-find /www/people.apache.org/repo/m2-snapshot-repository/org/apache/camel/ -mtime +7 -exec rm {} \;
-find /www/people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/ -mtime +7 -exec rm {} \;  
+find /www/people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/ -type f -mtime +7 -exec rm {} \; 
+find /www/people.apache.org/repo/m2-snapshot-repository/org/apache/camel/ -type f -mtime +7 -exec rm {} \;
+find /www/people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/ -type f -mtime +7 -exec rm {} \;