Remove randomly generated directories

This commit is contained in:
Les De Ridder 2017-02-20 02:55:21 +01:00
父節點 2cd0b2af81
當前提交 a4f8aaaabb
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 5EC132DFA85DB372
共有 1 個檔案被更改,包括 1 行新增1 行删除

查看文件

@ -1,2 +1,2 @@
#! /bin/sh
find $(grep -oP '"CONFIG_FILES_PATH", "\K(.*)(?=")' config.php) -mmin +$(grep -oP '"CONFIG_MAX_RETENTION_TIME", "\K(.*)(?=")' config.php) -exec rm -f {} \;
find $(grep -oP '"CONFIG_FILES_PATH", "\K(.*)(?=")' config.php) -mindepth 1 -mmin +$(grep -oP '"CONFIG_MAX_RETENTION_TIME", "\K(.*)(?=")' config.php) -exec rm -rf {} \;