jbrwilkinson wrote:Okay, this was resolved by upgrading to macOS 10.13.4
This has broken again, currently not working in macOS Sonoma 14.2.1.
It's not clear whether it is Hazel or the Scan to PDF software.
The Hazel rule (been working for years is):
- Code: Select all
all(Kind = PDF, 'Page Width' < 300, 'Receipt' not in Name, '-' not in Name)
Below is the Command Line tool output for a typical non-matching file; the output for a matching file (previously filed correctly by Hazel) is very similar.
How can I troubleshoot further?
- Code: Select all
for tool in mdls xattr 'sips -g all'; do echo $tool; $(echo $tool) iCloud/Paperless/Review/Just\ Scanned.pdf; done
mdls
kMDItemAuthors = (
"ABBYY FineReader for ScanSnap"
)
kMDItemContentCreationDate = 2023-08-13 14:50:13 +0000
kMDItemContentCreationDate_Ranking = 2023-08-13 00:00:00 +0000
kMDItemContentModificationDate = 2023-08-13 14:50:13 +0000
kMDItemContentType = "com.adobe.pdf"
kMDItemContentTypeTree = (
"com.adobe.pdf",
"public.data",
"public.item",
"public.composite-content",
"public.content"
)
kMDItemCreator = "ABBYY FineReader for ScanSnap"
kMDItemDateAdded = 2023-12-30 14:28:33 +0000
kMDItemDisplayName = "Just Scanned.pdf"
kMDItemDocumentIdentifier = 208203
kMDItemEncodingApplications = (
"ABBYY FineReader for ScanSnap"
)
kMDItemFSContentChangeDate = 2023-08-13 14:50:13 +0000
kMDItemFSCreationDate = 2023-08-13 14:50:13 +0000
kMDItemFSCreatorCode = ""
kMDItemFSFinderFlags = 0
kMDItemFSHasCustomIcon = (null)
kMDItemFSInvisible = 0
kMDItemFSIsExtensionHidden = 0
kMDItemFSIsStationery = (null)
kMDItemFSLabel = 0
kMDItemFSName = "Just Scanned.pdf"
kMDItemFSNodeCount = (null)
kMDItemFSOwnerGroupID = 20
kMDItemFSOwnerUserID = 502
kMDItemFSSize = 62429
kMDItemFSTypeCode = ""
kMDItemInterestingDate_Ranking = 2023-12-30 00:00:00 +0000
kMDItemKind = "PDF document"
kMDItemLastUsedDate = 2023-12-30 14:18:27 +0000
kMDItemLastUsedDate_Ranking = 2023-12-30 00:00:00 +0000
kMDItemLogicalSize = 62429
kMDItemNumberOfPages = 1
kMDItemPhysicalSize = 65536
kMDItemSecurityMethod = "None"
kMDItemUseCount = 4
kMDItemUsedDates = (
"2023-12-30 00:00:00 +0000"
)
kMDItemVersion = "1.5"
xattr
com.apple.lastuseddate#PS
com.apple.quarantine
sips -g all
/Users/james/Library/Mobile Documents/com~apple~CloudDocs/Paperless/Review/Just Scanned.pdf
pixelWidth: 221.550
pixelHeight: 377.895
typeIdentifier: com.adobe.pdf
format: pdf
formatOptions: default
dpiWidth: 72.000
dpiHeight: 72.000
hasAlpha: yes
creation: 2023-08-13 14:50:13 +0000
software: ABBYY FineReader for ScanSnap
artist: ABBYY FineReader for ScanSnap