Search found 4 matches

by MonkMad
25 Jun 2022, 02:36
Forum: Feature Requests and Bug Reports
Topic: minFileAge in hours - amc script
Replies: 7
Views: 1885

Re: minFileAge in hours - amc script

Holy lightning speed edit and commit, Batman! :o :) Tested by downloading latest amc.groovy from Github, and it works like a charm; gracias! (How do I force the cli to use the latest version from GitHub? The "fn:amc" parameter seems to be caching the previous version somewhere.) And yep, y...
by MonkMad
24 Jun 2022, 13:48
Forum: Feature Requests and Bug Reports
Topic: minFileAge in hours - amc script
Replies: 7
Views: 1885

Re: minFileAge in hours - amc script

It is Windows. Looks like --file-filter is the way to go. If I get time, I'll try my hand at creating a special version of the amc script too. Thanks again for your prompt responses and great suggestions. On a side note: What I'm trying to do, is to avoid processing files which are still being writt...
by MonkMad
24 Jun 2022, 06:25
Forum: Feature Requests and Bug Reports
Topic: minFileAge in hours - amc script
Replies: 7
Views: 1885

Re: minFileAge in hours - amc script

Thanks; it was indeed the toDouble() in the Groovy code that gave me the idea to try fractional minFileAge :) Your test command above, to print {f.age}, is great. It helped prove that the age is indeed a Double (0.648466 for my test). However, it also proved that the age calculation uses the Creatio...
by MonkMad
23 Jun 2022, 15:16
Forum: Feature Requests and Bug Reports
Topic: minFileAge in hours - amc script
Replies: 7
Views: 1885

minFileAge in hours - amc script

Hi, I searched the forums and documentation, but didn't find anything relevant. Please point me to the correct manual/FAQ/thread in case this feature is already available. Situation: We can use --file-filter to filter files based on modified DateTime We can use --def minFileAge=n (where n = days) in...