Mr_Noodle wrote:I'd have to dig deeper to see why it isn't archiving but it's usually not a good idea to compress and already compressed file. Could you send me a sample xslx file? ... Just use the "Contact Support" button in the "Info" pane and attach the file in the resulting mail window.
Just sent a sample .xlsx spreadsheet file. Apologies for any overlap; I had not refreshed the page to see your update before sending.
Mr_Noodle also wrote:I don't have Excel.
Wish I didn't need it! After resisting for years, I finally caved and bought a copy so that I would not have to keep running a Windows VM just for spreadsheets. Now I only boot the VM for Windows administrative tools a couple of times a week.
then Mr_Noodle wrote:Update:
I just ran a test where I took a zip file and renamed it with a .xslx extension. I had a rule to archive xslx files and it worked, making it into a .xslx.zip file.
So, I suspect the error is somewhere in your config. Make sure you double-check the rule preview and the logs. Send me any logs you think are relevant.
That's possible... but if you wouldn't mind testing with the file I sent, I would appreciate it. In my testing I could get Hazel to append or change a file extension, but the .xlsx file was simply renamed, not archived inside a new zip file.
Interestingly, I can right-click a .xlsx file in Finder and choose the Compress option, which does archive the file into a new zip archive named filename.xlsx.zip. When unzipping this file, I get back the original filename.xlsx file. This seems to match what you're seeing.
I created a new rule to test futher:
Conditions:
- Extension is xlsx
That's as simple as I can get, and Hazel does match the rule, but does not archive the file. Here is the log output:
Hazel wrote:2012-01-31 20:40:25.462 (null)[0] 20120131-test.xlsx: Rule zip xlsx file matched.
Can you share your rule conditions, actions, and results? (Especially whether the resulting .zip file can be unzipped to recover the original .xlsx file?)
Thanks for your continued assistance with this.
Daniel Mann