Modèle:Boîte déroulante
De Wiki de Projets IMA
Révision datée du 27 novembre 2012 à 21:04 par Achemin (discussion | contributions)
{{{contenu}}}
#!/bin/sh
# CONFIGURATION
DIR="path"
EVENTS="create"
# MAIN
inotifywait -m -e $EVENTS --timefmt '%Y-%m-%d %H:%M:%S' --format '%$
while read date time file
do
echo "$date $time Fichier recu: $file";
rm -rf $DIR/$file;
ls $DIR;
echo "Has $file been removed ?";
done
Modèle:Documentation modèle compliqué en sous-page Modèle:Boîte déroulante/Documentation