linux:purging_script
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
purging_script [2013/10/10 10:40] – dodger | linux:purging_script [2018/04/17 08:51] – ↷ Page moved from lamp:purging_script to linux:purging_script dodger | ||
---|---|---|---|
Line 11: | Line 11: | ||
===== Usage ===== | ===== Usage ===== | ||
- | <code bash>/u02/admin/BAVELPRO/ | + | <code bash>/home/scripts/purge_files/ |
===== Configuration ===== | ===== Configuration ===== | ||
+ | It's a file-based configuration, | ||
< | < | ||
- | /u02/admin/BAVELPRO/ | + | CONFIGFILE=/home/scripts/purge_files/ |
</ | </ | ||
+ | |||
==== Config file sytax ==== | ==== Config file sytax ==== | ||
Each line in the config file is set of file to be analysed and purged/ | Each line in the config file is set of file to be analysed and purged/ | ||
Line 107: | Line 109: | ||
MYDATE=$(date +%Y%m%d%H%M) | MYDATE=$(date +%Y%m%d%H%M) | ||
- | CONFIGFILE=$(dirname $0)/$(basename $0 .sh).config | + | CONFIGFILE=/ |
LOGDIR=$(dirname $0)/logs/ | LOGDIR=$(dirname $0)/logs/ | ||
linux/purging_script.txt · Last modified: 2022/02/11 11:36 by 127.0.0.1