]> jfr.im git - uguu.git/blob - includes/check.sh
Updating script and README
[uguu.git] / includes / check.sh
1 #! /bin/sh
2 find $(grep -oP '"CONFIG_FILES_PATH", "\K(.*)(?=")' config.php) -mtime +$(grep -oP '"CONFIG_MAX_RETENTION_TIME", "\K(.*)(?=")' config.php) -exec rm -f {} \;