Page 1 of 1

Need help with basic problem

PostPosted: Mon Jun 12, 2017 10:28 am
by mlondon
Hi,
For some reason I cant get the simplest of rules to work.
I want to monitor a folder and its subfolders for the "Backup" files which MS Word creates and move them to another folder.
- I selected a folder which contains subfolders.
- I created a rule with "Name contains Backup" and setting of "If any of the following are met"
- For "Do the following" I set it to "Run rules on folder contents" AND Move to a folder "Backups" (which is in a different folder from the original.
- When I click Preview, it says "Rule does not match" but THERE IS A FILE IN THE FOLDER WHOSE NAME CONTAINS "BACKUP" !!!
- When I run rules from below the Folder pane, nothing happens.

Debug below.
It says "2017-06-12 07:27:05.360 hazelworker[9602] DEBUG: In Progress with MRL: Did not match any rules."
But I checked again and there ARE files whose name contains "Backup"

What am I doing wrong?
Thank you,
Matthew
--------------------

2017-06-12 07:27:05.357 HazelHelper[1323] DEBUG: Checking events for path /Users/mrl/Dropbox/•••SOT/SOT-EDITING/SOT-Edit-Collaborate Leslie/Files with Matthew, folder Files with Matthew
2017-06-12 07:27:05.357 hazelworker[9602] DEBUG: Received file event: {
date = "2017-06-12 14:27:03 +0000";
path = "<ComNoodlesoft_NoodlePathSet: 0x7ff7a0d00a20>\n /Users/mrl/Dropbox/\U2022\U2022\U2022SOT/SOT-EDITING/SOT-Edit-Collaborate Leslie/Files with Matthew/In Progress with MRL/CAPTIONS/Backup of SOT_02Caps_R7_le_ copy.docx : 0\n";
}
2017-06-12 07:27:05.357 hazelworker[9602] DEBUG: About to process directory /Users/mrl/Dropbox/•••SOT/SOT-EDITING/SOT-Edit-Collaborate Leslie/Files with Matthew
2017-06-12 07:27:05.359 hazelworker[9602] DEBUG: .DS_Store: File is hidden/invisible. Skipping.
2017-06-12 07:27:05.360 hazelworker[9602] DEBUG: In Progress with MRL: Did not match any rules.
2017-06-12 07:27:05.360 hazelworker[9602] DEBUG: Skipped /Users/mrl/Dropbox/•••SOT/SOT-EDITING/SOT-Edit-Collaborate Leslie/Files with Matthew/SOT Introduction Outline .oo3. File/folder not part of change set/file event.
2017-06-12 07:27:05.361 hazelworker[9602] DEBUG: ~$T_01Elem_R2_ml.docx: File is hidden/invisible. Skipping.
2017-06-12 07:27:05.361 hazelworker[9602] DEBUG: ~$T_02Elem_R1.docx: File is hidden/invisible. Skipping.
2017-06-12 07:27:05.361 hazelworker[9602] DEBUG: ~$T_03Elem_R1.docx: File is hidden/invisible. Skipping.
2017-06-12 07:27:05.362 hazelworker[9602] DEBUG: ~$T_04Elem_R1.docx: File is hidden/invisible. Skipping.
2017-06-12 07:27:05.362 hazelworker[9602] DEBUG: ~$T_05Elem_R1.docx: File is hidden/invisible. Skipping.
2017-06-12 07:27:05.362 hazelworker[9602] DEBUG: Directory /Users/mrl/Dropbox/•••SOT/SOT-EDITING/SOT-Edit-Collaborate Leslie/Files with Matthew processed in 0.004673 seconds
2017-06-12 07:27:05.363 HazelHelper[1323] DEBUG: Checking events for path /Users/mrl/Dropbox/•••SOT/SOT-EDITING/SOT-Edit-Collaborate Leslie/Files with Matthew, folder Files with Matthew
2017-06-12 07:27:05.363 hazelworker[9602] DEBUG: Sending metrics to scheduler. Next scheduled run: 4000-12-31 16:00:00.000
2017-06-12 07:27:05.364 HazelHelper[1323] DEBUG: Received metrics for folder /Users/mrl/Dropbox/•••SOT/SOT-EDITING/SOT-Edit-Collaborate Leslie/Files with Matthew: {
directoryDepth = 18446744073709551615;
requestedSchedulingTime = "4001-01-01 00:00:00 +0000";
triggerPaths = "<ComNoodlesoft_NoodlePathSet: 0x618000237340>\n";
unavailablePaths = "{(\n)}";
}
2017-06-12 07:27:05.365 HazelHelper[1323] DEBUG: Timer scheduled for folder /Users/mrl/Dropbox/•••SOT/SOT-EDITING/SOT-Edit-Collaborate Leslie/Files with Matthew at 4001-01-01 00:00:00 +0000
2017-06-12 07:27:05.366 hazelworker[9602] Done processing folder Files with Matthew
2017-06-12 07:27:05.371 HazelHelper[1323] DEBUG: Thread 0x618000074440: Task removed: [9602]

Re: Need help with basic problem

PostPosted: Mon Jun 12, 2017 11:14 am
by Mr_Noodle
Search the help for "subfolders". It explains in more detail what you need to do. The way you have it now, you are combining logic for two different things (folders and files) into one rule, which won't work.

Re: Need help with basic problem

PostPosted: Mon Jun 12, 2017 11:36 am
by mlondon
Got it!
Needed two rules. Duh...
Working now, thank you.