How about just erasing whatever is old?
find /var/crash -mindepth 1 -maxdepth 1 -name '*.upload*' -type f -mtime +7 -print0 | xargs -0 rm -rf
In theory .uploaded files should always be newer than .upload files...so the job could in theory erase an .upload file without erasing the .uploaded file, which will then get erased the next day.
How about just erasing whatever is old?
find /var/crash -mindepth 1 -maxdepth 1 -name '*.upload*' -type f -mtime +7 -print0 | xargs -0 rm -rf
In theory .uploaded files should always be newer than .upload files...so the job could in theory erase an .upload file without erasing the .uploaded file, which will then get erased the next day.