Page 1 of 1

Ability to skip files already processed (not AMC)

Posted: 20 Apr 2017, 08:00
by nathan323
Hi all. Great program :)

I've got a custom renaming/tagging batch file that uses FileBot command line arguments. I want it to skip files already processed (in the same way I noticed the AMC script has "--def excludeList" option).

Does FileBot have this option in the CLI?

If it doesn't, I was thinking I could do it elsewhere in the batch file, but passing the filename of each processed file to a text document sounds tricky and complicated in cmd.exe..

Re: Ability to skip files already processed (not AMC)

Posted: 20 Apr 2017, 08:36
by rednoah
1.
--def excludeList a special option for the amc script. There is no equivalent for simple -rename calls or other scripts.


2.
find -exec would make it easy to select files created or modified after a certain point in time. There might be an easy solution with PowerShell or Bash. You can also write your own Groovy script.

:!: If you try this with CMD you will fail and it will take your sanity.

Re: Ability to skip files already processed (not AMC)

Posted: 20 Apr 2017, 11:21
by nathan323
Haha, yeah I hear ya.

Just to be clear, find -exec is only avaible in AMC also? Couldnt find reference to it anywhere.

Re: Ability to skip files already processed (not AMC)

Posted: 20 Apr 2017, 14:14
by rednoah
find is a very useful standard Unix command: viewtopic.php?f=4&t=4788

Re: Ability to skip files already processed (not AMC)

Posted: 21 Apr 2017, 02:48
by nathan323
Cool, thanks. Got some learning to do :)