Duplicate File renamed instead of thrown away

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

Moderator: Mr_Noodle

Duplicate File renamed instead of thrown away Thu Mar 14, 2019 5:34 pm • by ezad
Hi, may i know why is the file (<XXX_TEST_FILE>) below renamed instead of thrown away as a duplicate? What is the criteria to evaluate if a file is duplicate?


DEBUG: New rule signature. Executing actions.
Old signatures: (
"{dateAdded >[cd] dateMatched OR displayBasename BEGINSWITH[cd] \"@\" OR dateAdded hazelIsInTheLast: 2 Minutes}:{(ignore:,{\n})}"
)
New Signature:{dateAdded hazelIsInTheLast: 24 Hours AND (displayBasename ==[cd] "Downloads") AND (displayExtensions hazelContainsObjectThatMatchesPattern: ({hazelcustomtoken:WordDocExt:sc0:cap}),{
} OR displayExtensions hazelContainsObjectThatMatchesPattern: ({hazelcustomtoken:PDFExt:(pdf:{anything:sc0:id0}):sc0:id0:cap}),{
} OR displayExtensions hazelContainsObjectThatMatchesPattern: ({hazelcustomtoken:PPTExt:(ppt:{anything:sc0:id0}):sc0:id0:cap}),{
} OR typeObject isType: "hazelkind:Comma Separated Spreadsheet (.csv)" OR displayExtensions hazelContainsObjectThatMatchesPattern: ({hazelcustomtoken:XLSExt:(xl:{letter:sc0}:{anything:sc0:id0}):sc0:id0:cap}),{
})}:{(move:/Users/xyz/Folder/@Landing Folder,{
keepFolderStructure = 0;
replaceExisting = 0;
throwAwayDupes = 1;
})(createfolder:(
"{kind:sc0:[Microsoft Excel Workbook (.xlsx)->Spreadsheet:Microsoft Excel 97-2004 worksheet->Spreadsheet:Microsoft Excel Macro-Enabled Workbook (.xlsm)->Spreadsheet:Microsoft Excel 97-2004 Workbook (.xls)->Spreadsheet:Comma Separated Spreadsheet (.csv)->Spreadsheet:PowerPoint Presentation (.pptx)->Presentation:PowerPoint 97-2003 Presentation (.ppt)->Presentation:Microsoft Word document (.docx)->Word Document:Microsoft Word 97 - 2004 document (.doc)->Word Document:Microsoft Word 2007 (.docx) Document->Word Document:PDF document->PDF]}"
),{
keepFolderStructure = 0;
replaceExisting = 0;
throwAwayDupes = 1;
})}
2019-03-15 05:16:03.347 hazelworker[4625] [File Event] File moved: <XXX_TEST_FILE> @ 17Feb2019-1.xls moved from folder /Users/xyz/Downloads to folder /Users/xyz/Folder/@Landing Folder.
2019-03-15 05:16:03.351 hazelworker[4625] [File Event] File moved into subfolder: /Users/xyz/Folder/@Landing Folder/Spreadsheet/<XXX_TEST_FILE> @ 17Feb2019-1.xls sorted from folder /Users/xyz/Folder/@Landing Folder to subfolder Spreadsheet.
2019-03-15 05:16:03.351 hazelworker[4625] DEBUG: Rule executed. Updating match date for file /Users/xyz/Folder/@Landing Folder/Spreadsheet/ @ 17Feb2019-1.xls: 2019-03-14 21:16:03 +0000
2019-03-15 05:16:03.351 hazelworker[4625] DEBUG: Action changed file: <XXX_TEST_FILE> @ 17Feb2019-1.xls
2019-03-15 05:16:03.362 hazelworker[4625] DEBUG: File /Users/xyz/Folder/@Landing Folder/Spreadsheet/<XXX_TEST_FILE> @ 17Feb2019-1.xls moved out of folder. No longer tracking.
ezad
 
Posts: 3
Joined: Thu Oct 18, 2018 6:17 am

Are the file's contents identical to the file at the destination? What is the name of the file at the destination it should be a duplicate of?
Mr_Noodle
Site Admin
 
Posts: 7810
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support