]> jfr.im git - uguu.git/blobdiff - src/static/scripts/checkfiles.sh
fix multiple uploads in same request
[uguu.git] / src / static / scripts / checkfiles.sh
index 5c9e4bdbc1a916f782cb35573c06346d5cda9829..b0674e40f5b45838480afcafffd1436f1c0f5c43 100644 (file)
@@ -1,2 +1,3 @@
-#! /bin/sh
-find /path/to/files/ -mmin +1440 -exec rm -f {} \;
\ No newline at end of file
+#!/bin/sh
+hours=$((XXX*60))
+find /path/to/files/ -mmin +$hours -exec rm -f {} \;