Multiple folder check?

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Multiple folder check? 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.
f0wlerUK
 
Posts: 10
Joined: Mon Feb 10, 2014 9:31 am

Re: Multiple folder check? Mon Feb 10, 2014 2:00 pm • by Mr_Noodle
Are they all under a common folder?
Mr_Noodle
Site Admin
 
Posts: 11879
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Multiple folder check? 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?
f0wlerUK
 
Posts: 10
Joined: Mon Feb 10, 2014 9:31 am

Re: Multiple folder check? 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.
Mr_Noodle
Site Admin
 
Posts: 11879
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Multiple folder check? Wed Feb 12, 2014 1:05 pm • by f0wlerUK
Thought it might be, thanks anyway Mr Noodle.
f0wlerUK
 
Posts: 10
Joined: Mon Feb 10, 2014 9:31 am


Return to Support