Source Folders Moved...

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

Moderator: Mr_Noodle

Source Folders Moved... Mon Jan 19, 2015 4:23 pm • by mlevison
....I've just moved all of the Source folders for Hazel to a new Directory (under dropbox). Is there a clever Hazel way to move everything or is this a manual recreation exercise?

Thanks
Mark
mlevison
 
Posts: 15
Joined: Thu May 30, 2013 11:49 pm

Re: Source Folders Moved... Mon Jan 19, 2015 8:31 pm • by Smudge
I've had to do this a few times and haven't found a 'clever Hazel way' to do it.
You might want to turn off Hazel completely or at least pause the new folder while copying over the rules.

  • Drag the new folder into the Folder listing in the Hazel window and position it under the old folder.
  • Select the old folder then click one of the rules on the right and press Command+A to select all rules.
  • Drag the rules to the new folder entry. As you are dragging, you should see a + icon under your cursor which means the rules will be copied instead of moved.
  • Once all of the rules for that folder are properly copied over, unpause the folder
  • Select the old folder entry on the left and delete it from the list

Note: While copying the rules, as you are dragging them, you can hold down the Command key and the + icon disappears. This will move them instead of copying them.

Possible bug that Mr. Noodle will need to look into is the last time I did this, whenever I moved the rules, Hazel would not update the rule listing for a long time. Even sometimes Hazel would stop responding. I would have to quit the System Preferences app and start it again to get Hazel to respond. However, even then the rule list wouldn't be updated for another minute or so. If you run into this, just copy the rules then delete the originals instead of trying to move them.

Hope this helps.
Smudge
 
Posts: 34
Joined: Mon Jul 15, 2013 10:44 pm

Re: Source Folders Moved... Tue Jan 20, 2015 12:07 pm • by Mr_Noodle
Smudge: If you notice a pause, launch Activity Monitor, select System Preferences and do "Sample Process". Also, launch Console and look for any error messages from System Preferences.. Send me the output of both.
Mr_Noodle
Site Admin
 
Posts: 11866
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Source Folders Moved... Wed Jan 21, 2015 11:07 am • by mlevison
Smudge - thanks that was the best trick for the job.

Mr_Noddle - when considering Hazel v.Next - my challenge with Hazel today everything is really seen as a series as independant folders. There is no notion that folders are often part of a bigger set.

In this case I have a /training folder and underneath it folders for each course or conference session I've run. Each course gets the same set of rules applied to its folder. As conference session has similar rules. Recently I decided to move from using GIT for my training materials to using Dropbox. As you can imagine that forced me to move my /training folder. In so doing I realized just how fragile my hazel rules are. Because Hazel just sees these as independant folders I had to manually copy each set of rules and pray that I got them right.

Food for thought
Mark in the hazel trenchs
mlevison
 
Posts: 15
Joined: Thu May 30, 2013 11:49 pm

Re: Source Folders Moved... Wed Jan 21, 2015 1:01 pm • by Mr_Noodle
If you use Sort into subfolders, that is all relative to the base folder so one way to make your rules more relocatable is to have one rule move things to a base folder, then monitor that base folder separately and sort into subfolder.

Also, if you are applying the same set of rules to a bunch of subfolders, then you may want to consider instead having Hazel go into those subfolders from the base folder. See the sticky article at the top of this forum. You will probably want to make sure the rules only apply to files in the subfolders and not at the top level though.
Mr_Noodle
Site Admin
 
Posts: 11866
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support