FasdUAS 1.101.10 k l  Create an EPUB   Create an EPUB l O  k l >8 Note: Very basic script, not doing much error handling.p Note: Very basic script, not doing much error handling. l JDThe folder should be set up just like an epub, with a mimetype file The folder should be set up just like an epub, with a mimetype file  l IC and the 'META-INF' and 'OPS' or 'OEBPS' folders at the top level, and the 'META-INF' and 'OPS' or 'OEBPS' folders at the top level, l!" !LF much like what you get if you rename an .epub as .zip and expand it."## much like what you get if you rename an .epub as .zip and expand it. $% $r&' &c () (l * *I + .sysostflalisnull+,  prmp ,m--..ZSelect the folder you wish to convert to EPUB )m  alis 'o 0 thefolder theFolder%/0 /r12 1n34 31  pnam 4o 0 thefolder theFolder 2o 0filenamefileName056 5l78 7d^ We'll put the EPUB in the 'parent' of the original folder, so that they're at the same level.899 We'll put the EPUB in the 'parent' of the original folder, so that they're at the same level.6:; :r<= <c>? >n@A @1  pare Ao 0 thefolder theFolder ?m  alis =o 0 parentfolder parentFolder;BC Br#DE Dn!FG F1!  psxp Go 0 thefolder theFolder Eo 0 choosenfolder choosenFolderCHI Hl$$JK J)# The name of the file we'll create.KLLF The name of the file we'll create.IMN Mr$)OP Ob$'QR Qo$% 0filenamefileName Rm%&SSTT .epub Po 0epubfileepubFileNUV Ur*1WX Wl*/Y Yb*/Z[ Zl*-\ \c*-]^ ]o*+ 0 parentfolder parentFolder ^m+,  TEXT [o-. 0epubfileepubFile Xo 0 destinationV_` _e25a ac25bc bo23 0 destination cm34  alis`de dZ6fg fI6;h .coredoexboolobj ho67 0 destination gk>iijk jr>\lm lI>Xno .sysodlogaskrTEXT nl>Cp pb>Cqr qm>Asstt2Overwrite existing file: roAB 0epubfileepubFileouv  btns ul FNw wJFNxxyz ymFI{{||stopz} }mIL~~replacev  dflt mQR mo 0questionk r]h n]d 1`d  bhit o]` 0question o 0answer Zi =ip oil 0answer mlostop Os} Iw| .aevtquitnullnull fste I .sysoexecTEXTTEXT b b b b mcd o 0 choosenfolder choosenFolder m; zip -Xr9D ../ o 0epubfileepubFile m mimetype * Q I .sysoexecTEXTTEXT b b mzip -d o 0zipfilezipFile m '*.DS_Store' R .ascrerr ******** I .sysodisAaleRTEXT b m4Done converting folder to o 0epubfileepubFile mMACSalisn MacintoshHDqH+# Finder.app# & CoreServicesqI  ###2MacintoshHD:System:Library:CoreServices:Finder.app Finder.app MacintoshHD&System/Library/CoreServices/Finder.app/  l .aevtoappnull**** .aevtoappnull**** k (-Ss{~  prmp .sysostflalisnull  alis 0 thefolder theFolder  pnam 0filenamefileName  pare 0 parentfolder parentFolder  psxp 0 choosenfolder choosenFolder 0epubfileepubFile  TEXT 0 destination .coredoexboolobj  btns  dflt .sysodlogaskrTEXT 0question  bhit 0answer .aevtquitnullnull .sysoexecTEXTTEXT 0zipfilezipFile .sysodisAaleRTEXT*l &EO,EO,&EO,EO%EO&%EO&Oj Ha%aaalvala E`O_a,E`O_a)*j UYhYhOa%a%%a%j Oa!_"%a#%j WX$%hOa&%j 'Uascr ޭ