1
0
Commit Graph

12 Commits

Author SHA1 Message Date
03c19bc1c8
logClean renamed to logClear. deletedSize and deletedCount are incremented now if there was no error. 2022-03-06 22:00:07 +04:00
2e8e97d0a5
Refactor vars. 2022-02-10 23:17:55 +04:00
00b5b0c7d6
Actually, lets keep working instead of closing program if file cannot be deleted. 2022-02-10 23:06:24 +04:00
a0a80db606
Fixed substraction order. Previously it gave us a negative duration, so files didn't get deleted. 2022-02-10 23:04:27 +04:00
bb3a64d334
Chroot for dwelling-upload-clean. 2022-02-08 23:12:53 +04:00
ad336b03e2
Fixed a typo in config. 2022-02-08 23:08:37 +04:00
29931cca2f
Removed .Hours().
Reduced logClean output.
2022-02-08 02:35:48 +04:00
ed3b0080a3
Moved substituting user to a func for upload-clear. 2022-02-07 22:04:40 +04:00
2fb9db01b0
Added a flag for logging to stdout that if set overrides configuration.
Substitute to user from config file.
Moved logging to own one.
2022-02-07 21:23:13 +04:00
9b5ae547cc
Snake case to camel case. Fixed argument parsing. Added a statistics log line to tell how much files gets deleted. 2022-02-06 03:03:01 +04:00
8f9f4f0e30
Added use of configuratuin param KeepForHours to decide if file is to be deleted. 2022-02-06 02:26:55 +04:00
d4852ee6dd
Initial commit. 2022-02-06 02:22:23 +04:00