Subversion Repositories ALCASAR

Rev

Rev 519 | Blame | Last modification | View Log

#!/bin/bash
# $Id: alcasar-import-clean.sh 672 2011-07-08 15:34:22Z richard $

# alcasar-import-clean.sh
# by Franck BOUIJOUX
# This script is distributed under the Gnu General Public License (GPL)

# nettoyage des fichiers de mots de passe générés après l'import d'une liste de nom (après 24h).
# delete password files generated during the importation of a names list (after 24 hrs)

DATE=`date +%F`
REP="/tmp"
delay=0

find $REP -mtime +$delay -name '*.pwd' -exec rm -f {} \;

exit 0