how to use "treat as path" for different destination folders

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

Moderator: Mr_Noodle

Hello,

I have the task of sorting files from a drop folder (download) to specific destination folders (which are NOT children of the same root folder).

right now I use a token to identify keywords (company names) based on a csv-file that contains these keywords plus a column with the desired file path in the form: "/User/robert/documents/.../.../...".

so I use the function "sort into subfolder" with a token reading the appropriate column (with the path) and checked "treat as file path" (Unix: "/").

however, the file is not moved anywhere, although the conditions match.
roberting
 
Posts: 9
Joined: Mon Apr 18, 2022 9:40 am

Can you go through the troubleshooting guide here? https://www.noodlesoft.com/kb/hazel-tro ... ing-guide/

Report back with the results.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

ok, i checked the logs and saw that my second rule (the one that should move the file) was not processed. added "continue matching rules". Now this works.

However, the rule now creates a new folder tree in the place the file sat, instead of moving it to place indicated by the path.
Shouldn't "Users/robert/..." point rule to move/copy the file to the path location?

is "sort into subfolder" appropriate for this? I tried "move" and "copy", but they seem to not accept path variables, only fixed folders.

Or, what I suspect now: is it possible at all to move/copy a file to a target folder outside the branch of the monitored folder? (without using other scripts or apps)
roberting
 
Posts: 9
Joined: Mon Apr 18, 2022 9:40 am

Sort into subfolder does just that. It has to be a subfolder. You can move to a folder, then sort from there if you want it outside the source folder.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support