Page 1 of 1

How to move folders (with contents included)

PostPosted: Fri Feb 14, 2014 2:40 pm
by mccleery27
Hi,
I'm trying to create a rule that will move folders added after 3 years to an archive folder. Let's say I go on a trip and create a folder (12-1-13 weekend trip) with images. I want this folder to move (with the images) to an archived 2013 folder. I tried running a subfolders rule in the beginning, but nothing happened. I'm not sure if this is even possible. I like to organize my pictures by events. Attached is a screenshot of my current rule setup. https://www.dropbox.com/s/jnxp63ox8yz5z0c/Screenshot%202014-02-14%2013.35.08.png

Re: How to move folders (with contents included)

PostPosted: Fri Feb 14, 2014 4:30 pm
by Mr_Noodle
Image isn't coming up for me (says it is uploading). Based on your description though, unless the folders you want to move are in subfolders, you don't want to have anything to do with anything subfolder related. Folders are treated just like files when it comes to the rules. Just write a rule to match the folder you want and move it.

Re: How to move folders (with contents included)

PostPosted: Sun Feb 16, 2014 1:20 am
by brianjordan90
I'm having the same issue.

I am trying to execute the rules on subfolders.

Rule 1
if Kind is Folder
Run Rules on Folder Contents

Rule 2
if Kind is Folder
Change Color to Green

Rule 3
if Kind is Document
Change Color to Red

On Preview,
All of the Rule 3 Documents show up as Matched
All of the Rule 2 Folders show up as Go Into Subfolders.

The Question is, how can I make Rule 2 work.

Any help would be greatly appreciated.

Re: How to move folders (with contents included)

PostPosted: Sun Feb 16, 2014 8:40 am
by dhy8386
mccleery27 wrote:Hi,
I'm trying to create a rule that will move folders added after 3 years to an archive folder. Let's say I go on a trip and create a folder (12-1-13 weekend trip) with images. I want this folder to move (with the images) to an archived 2013 folder. I tried running a subfolders rule in the beginning, but nothing happened. I'm not sure if this is even possible. I like to organize my pictures by events. Attached is a screenshot of my current rule setup. https://www.dropbox.com/s/jnxp63ox8yz5z0c/Screenshot%202014-02-14%2013.35.08.png


What does preview show on those folders? is it matched? Do you have a run rule on folder contents above it?

Re: How to move folders (with contents included)

PostPosted: Sun Feb 16, 2014 9:22 am
by dhy8386
brianjordan90 wrote:I'm having the same issue.

I am trying to execute the rules on subfolders.

Rule 1
if Kind is Folder
Run Rules on Folder Contents

Rule 2
if Kind is Folder
Change Color to Green

Rule 3
if Kind is Document
Change Color to Red

On Preview,
All of the Rule 3 Documents show up as Matched
All of the Rule 2 Folders show up as Go Into Subfolders.

The Question is, how can I make Rule 2 work.

Any help would be greatly appreciated.


Its because your subfolder rule is your top level rule and it matches the folder you are trying to color so it never gets to rule 2. You need to use subfolder depth to more fine tune your rules. So for example, the folder you are running rules on is called FolderA. Then you have a bunch of folders under A called FolderB, FolderC, FolderD. Then under each of those you have FolderB1, Folder B2, Folder C1, C2, etc. And you also have documents in those B, C, and D folders. Now lets also assume that B1, C1, C2, etc have even more folders under those. If the goal is to just check the contents with folder B, C, and D but deeper into B1, C1, etc you do not want to traverse, then you would set up something like:

Rule1 - kind is folder AND subfolder depth is less than 1 THEN run rules on subfolders
Rule 2 - kind is folder THEN color green
Rule 3 - Kind is document THEN color red

The subfolder depth 1 means that Rule 1 will not dive into folders whose depth is 1 or greater. And FYI 0 is the first level which is what folders B, C and D are so thats why Rule 1 matches those but not B1, C1, etc whose depth is 1.

Also note, that for the documents rule, if you have docs in the top level folder those will of course match too.

See if that works for you.

And to the OP, you should be able to use the same rule to match a certain sub folder and move all its contents without it diving further into the folders.

Re: How to move folders (with contents included)

PostPosted: Mon Feb 17, 2014 3:19 am
by brianjordan90
After a bit of work I finally got it working. What you said worked perfectly.

Thanks,

Brian