View Single Post
Old 05-05-2016, 10:01 AM   #5
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by AlanHK View Post
That's the kind of hack I was looking to avoid. Then he has to change it back. (Would the system or iTunes try to stop him or give a warning?) And I thought that filetypes on Mac weren't that easy to change -- it's been a long time since I used Macs much, but it needed a special utility.

Ideally I was hoping for an unzipper that will work regardless of nominal filetype.
Well, I don't know what options there are for OSX, so I can't help you with finding a sane unzipper.
But changing fixing a filetype really is as easy as renaming it -- an EPUB is a renamed ZIP to begin with, so renaming it back ensures that applications will recognize it as a ZIP.

And as I said, the command-line unzip utility can handle arbitrary filenames.
You could also use pdurrant's ePub Zip/Unzip AppleScript application for Mac OS X. It is a drag-and-drop AppleScript which simply acts as a wrapper around `unzip`.

Last edited by eschwartz; 05-05-2016 at 10:05 AM.
eschwartz is offline   Reply With Quote