Page 1 of 1
Multiple folder check?

Posted:
Mon Feb 10, 2014 10:10 am
by f0wlerUK
Hi All,
I'm try to create a rule that checks 4 different folders/sub folders to close an application if the folders are empty.
I can get the rule working on each folder separately but looking for one rule that checks all 4 at the same time rather than 4 individual rules?
Can anyone guide me in the right direction?
Cheers,
Paul.
Re: Multiple folder check?

Posted:
Mon Feb 10, 2014 2:00 pm
by Mr_Noodle
Are they all under a common folder?
Re: Multiple folder check?

Posted:
Tue Feb 11, 2014 9:09 am
by f0wlerUK
No not really, they are all in my home folder, but some are sub folders of other folders, and to top it, they are named the same.
Home - Movies - Movies - Complete
Home - Movies - TV Shows
Home - Movies
The folders in bold have media files added at various times through an automated system, once dropped in a certain folder, they get processed with the processed files moved and the old files deleted, once all files are moved/deleted I wanted to the app that does the processing to close, but sometimes there may be a file in the TV Shows folder still being processed when the rule is run on the other folders?
Hope this doesn't seem to complicated?
Re: Multiple folder check?

Posted:
Tue Feb 11, 2014 4:02 pm
by Mr_Noodle
Yeah, that looks like special logic for a script then. Either that or have all the files to be processed dumped in one folder and then move those to the correct folder afterwards.
Re: Multiple folder check?

Posted:
Wed Feb 12, 2014 1:05 pm
by f0wlerUK
Thought it might be, thanks anyway Mr Noodle.