(root)//scripts/alcasar-ticket-clean.sh – Rev 2262
Rev 1566 |
Details |
Compare with Previous |
Last modification |
View Log
Rev |
Author |
Line No. |
Line |
1566 |
richard |
1 |
#!/bin/bash
|
|
|
2 |
|
|
|
3 |
# alcasar-ticket-clean.sh
|
|
|
4 |
# by Franck BOUIJOUX & Rexy
|
|
|
5 |
# This script is distributed under the Gnu General Public License (GPL)
|
|
|
6 |
|
|
|
7 |
# nettoyage des fichiers de mots de passe générés après l'import d'une liste de noms.
|
|
|
8 |
# nettoyage des ticket PDF généré lors de la création d'usager
|
|
|
9 |
# delete password files generated during the importation of a list of names
|
|
|
10 |
# delete PDF ticket generated when creating new account
|
|
|
11 |
|
|
|
12 |
find /tmp -name '*.pwd' -exec rm -f {} \;
|
|
|
13 |
find /var/www/html/acc/manager/htdocs -name '*.pdf' -exec rm -f {} \;
|
|
|
14 |
exit 0
|