How to move folders (with contents included)

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

Moderator: Mr_Noodle

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
mccleery27
 
Posts: 1
Joined: Fri Feb 14, 2014 2:30 pm

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

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.
brianjordan90
 
Posts: 3
Joined: Sun Feb 16, 2014 1:12 am

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?
dhy8386
 
Posts: 96
Joined: Tue Nov 09, 2010 12:19 pm

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.
dhy8386
 
Posts: 96
Joined: Tue Nov 09, 2010 12:19 pm

After a bit of work I finally got it working. What you said worked perfectly.

Thanks,

Brian
brianjordan90
 
Posts: 3
Joined: Sun Feb 16, 2014 1:12 am


Return to Support