Subversion Repositories ALCASAR

Rev

Rev 518 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log

Rev Author Line No. Line
170 franck 1
#!/bin/sh
174 franck 2
# $Id: alcasar-import-clean.sh 519 2011-03-25 16:30:32Z stephane $
176 franck 3
# script de nettoyage des fichiers d'import supérieurs à 24h.
170 franck 4
 
518 stephane 5
 
170 franck 6
DATE=`date +%F`
7
REP="/tmp"
179 franck 8
delay=0
170 franck 9
 
10
find $REP -mtime +$delay -name '*.pwd' -exec rm -f {} \;
11
 
12
exit 0