I'm trying to get an accurate count of the number of files being received into all of our Switch flows, and scripting seems to be a good way to accomplish this.
Unfortunately, I'm just getting into the scripting side of things and haven't been able to find any resources detailing how to count files passing through a folder.
It seems as though this would be something someone else had come across before, since the Statistics panel in Switch will only tell the average time of files in a folder/state.
Has anyone had a pass at this before, or could maybe point me in the right direction?
File Count Script
-
- TOP CONTRIBUTOR
- Posts: 628
- Joined: Mon Nov 29, 2010 8:45 pm
- Location: Alpharetta GA USA
- Contact:
File Count Script
Switch's statistics will show number of files processed. Enable stats on just the input folder(s), start flow, show stats window, reset stats and start running jobs. Make sure you refresh the stats before trying to interprets values.
File Count Script
Thank you - that looks like it will do the trick. I'll just have to be certain to keep on top of the reset function to get the number of files in a certain time period.