Page 1 of 1

Please cap desync reports

Posted: Fri Jul 10, 2015 4:31 am
by pzich
I seem to have accumulated nearly 7GB of desync reports. Could this automatically delete old reports?

Code: Select all

 
~/Library/Application Support/factorio/archive/ $ du -h
12M	./desync-report-2015-05-22-18-36-08
 12M	./desync-report-2015-05-22-18-39-52
 13M	./desync-report-2015-05-22-21-19-04
 13M	./desync-report-2015-05-22-21-19-41
 25M	./desync-report-2015-05-25-19-59-03
 76M	./desync-report-2015-06-01-19-15-32
 34M	./desync-report-2015-06-01-21-15-43
 58M	./desync-report-2015-06-03-21-14-10
106M	./desync-report-2015-06-04-18-49-59
115M	./desync-report-2015-06-04-19-21-43
 49M	./desync-report-2015-06-04-19-34-44
124M	./desync-report-2015-06-08-00-08-11
123M	./desync-report-2015-06-08-00-10-20
124M	./desync-report-2015-06-08-00-12-42
124M	./desync-report-2015-06-08-00-14-23
124M	./desync-report-2015-06-08-00-15-40
124M	./desync-report-2015-06-08-00-16-52
124M	./desync-report-2015-06-08-00-18-07
127M	./desync-report-2015-06-08-18-28-29
140M	./desync-report-2015-06-08-19-58-22
141M	./desync-report-2015-06-08-20-01-13
142M	./desync-report-2015-06-08-20-03-56
141M	./desync-report-2015-06-08-20-06-57
 54M	./desync-report-2015-06-09-20-32-52
 55M	./desync-report-2015-06-09-20-33-56
 55M	./desync-report-2015-06-09-20-35-09
 55M	./desync-report-2015-06-09-20-36-15
 61M	./desync-report-2015-06-13-21-31-12
 61M	./desync-report-2015-06-13-21-34-16
 37M	./desync-report-2015-06-13-21-40-49
 37M	./desync-report-2015-06-13-21-43-21
 37M	./desync-report-2015-06-13-21-46-52
 37M	./desync-report-2015-06-13-21-48-22
 38M	./desync-report-2015-06-13-21-49-15
 38M	./desync-report-2015-06-13-21-50-30
 36M	./desync-report-2015-06-13-22-07-48
 43M	./desync-report-2015-06-26-21-31-35
 55M	./desync-report-2015-06-27-21-53-00
 55M	./desync-report-2015-06-27-21-54-51
 55M	./desync-report-2015-06-27-21-57-10
 55M	./desync-report-2015-06-27-21-59-04
 55M	./desync-report-2015-06-27-22-00-54
 55M	./desync-report-2015-06-27-22-02-36
 55M	./desync-report-2015-06-27-22-04-21
 55M	./desync-report-2015-06-27-22-05-57
 34M	./desync-report-2015-06-27-22-09-22
 37M	./desync-report-2015-06-29-18-55-15
 37M	./desync-report-2015-06-29-18-56-43
 37M	./desync-report-2015-06-29-18-58-14
 37M	./desync-report-2015-06-29-18-59-03
 37M	./desync-report-2015-06-29-18-59-55
 39M	./desync-report-2015-06-29-19-20-00
 39M	./desync-report-2015-06-29-19-20-58
 39M	./desync-report-2015-06-29-19-21-57
 39M	./desync-report-2015-06-29-19-22-57
 40M	./desync-report-2015-06-29-19-23-53
 40M	./desync-report-2015-06-29-19-24-42
 40M	./desync-report-2015-06-29-19-25-40
 40M	./desync-report-2015-06-29-19-26-31
 40M	./desync-report-2015-06-29-19-27-59
 42M	./desync-report-2015-06-30-20-14-24
 57M	./desync-report-2015-07-01-18-32-33
 52M	./desync-report-2015-07-01-18-35-10
 53M	./desync-report-2015-07-01-19-02-31
 53M	./desync-report-2015-07-01-19-04-29
 58M	./desync-report-2015-07-02-19-26-09
 81M	./desync-report-2015-07-06-18-00-27
 81M	./desync-report-2015-07-06-18-01-48
 81M	./desync-report-2015-07-06-18-04-11
 82M	./desync-report-2015-07-06-18-06-40
 83M	./desync-report-2015-07-06-18-08-14
 83M	./desync-report-2015-07-06-18-24-13
 84M	./desync-report-2015-07-06-18-28-56
 84M	./desync-report-2015-07-06-18-31-22
 84M	./desync-report-2015-07-06-18-37-46
 85M	./desync-report-2015-07-06-18-40-27
 84M	./desync-report-2015-07-06-18-43-25
 85M	./desync-report-2015-07-06-18-50-31
 85M	./desync-report-2015-07-06-18-53-18
 91M	./desync-report-2015-07-06-19-04-55
 92M	./desync-report-2015-07-06-19-06-57
 97M	./desync-report-2015-07-06-19-12-34
 91M	./desync-report-2015-07-06-19-18-50
 96M	./desync-report-2015-07-06-19-22-40
 98M	./desync-report-2015-07-07-17-55-32
115M	./desync-report-2015-07-08-17-21-54
115M	./desync-report-2015-07-08-17-23-19
116M	./desync-report-2015-07-08-17-25-00
115M	./desync-report-2015-07-08-17-26-43
117M	./desync-report-2015-07-08-17-51-07
137M	./desync-report-2015-07-09-17-57-09
137M	./desync-report-2015-07-09-17-58-57
137M	./desync-report-2015-07-09-18-19-23
137M	./desync-report-2015-07-09-18-23-07
155M	./desync-report-2015-07-09-21-20-04
6.8G	.

Re: Please cap desync reports

Posted: Sat Jul 11, 2015 7:56 am
by MF-
What "this" ?


PS:
I think the "test" program can test files for their age.
It should be easy to delete any older than X days in a shell script.
Then just append the "lauch factorio command" at the end of it.
And voilĂ , a factorio shortcut that caps desync reports :)