activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r570668 - /activemq/scripts/activemq-snapshots-clean.sh
Date Wed, 29 Aug 2007 07:33:42 GMT
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 {} \;  



Mime
View raw message