Troubleshooting with Advanced Sorting

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

Moderator: Mr_Noodle

Troubleshooting with Advanced Sorting Tue Oct 11, 2016 6:26 pm • by djdesign
Need advise on getting dynamic subfolder sorting to function any help would be greatly appreciated.

What I am looking to achieve:
    Dynamic sorting of files into new subfolder where file/pattern matches:
    In this case if I tag a file "cleaned" or file name contains "_tag_cleaned" and Kind is "Music"
    Want to move to them into a new subfolder inside the current containing folder with that tag.
Currently going in circles as I am not finding that option, so it raising the questions:
    Does hazel natively support this?
    Would it be better to go with bash/apple script?
    OR what are my options?
Example:
Code: Select all
folderA /
--file_tag_cleaned.wav
--file.wav
folderB/
--file_tag_cleaned.wav

Expected Result:
Code: Select all
folderA /
--tag /
----file_tag_cleaned.wav
--file.wav
folderB /
--tag /
----file_tag_cleaned.wav
djdesign
 
Posts: 2
Joined: Thu Jun 23, 2016 3:25 pm

Re: Troubleshooting with Advanced Sorting Wed Oct 12, 2016 11:24 am • by Mr_Noodle
You can do this with the Sort into subfolder action. Look into "match patterns" on how to match the file name and use that part of the tag. If you run into specific problems, post back here.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Troubleshooting with Advanced Sorting Thu Oct 13, 2016 1:21 pm • by djdesign
Hey there @Mr_Noodle,

Checked into your "matching patterns" found a few items but still stuck. Below is what I have setup but does not seem to be doing what I am expecting todo. I have a main monitored folder, any subfolder(s) that contain files "taged" I would want a subfolder with tag-name made within the containing subfolder.

Where am I going wrong?
Error Output:
Code: Select all
Rule Cleaned -> matched.
2016-10-13 10:07:24.263 hazelworker[23693] [Error] Sorting into subfolder failed: Could not move /Users/DJ/temp/Brian. Source and destination are the same.

Patterns matching combinations I am using or have tried [with no success]:
    Tags
    >[subfolder arrow] + Tags
    Source Folder:[all combinations of options] + >[subfolder arrow] + Tags
    Other: "Container Document Folder" + >[subfolder arrow] + Tags
djdesign
 
Posts: 2
Joined: Thu Jun 23, 2016 3:25 pm

Re: Troubleshooting with Advanced Sorting Fri Oct 14, 2016 1:26 pm • by Mr_Noodle
According to that message, you are moving an item into itself. I can't say more without more details. Can you post an image of the full rule? (You'll need to use a third-party service to host the images).
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support