How can I put files inside an empty .zip file with Mac OS X?

Hi all,
I'm learning to produce epub files (i.e., ebooks). I'm told by tutorials that I need to zip several files together, but I must start from a specific file and put that file first into the .zip archive… then the others.
I can't find ways to put files one after another inside a .zip archive using Mac. Anyone can help?
Thanks in advance,
lux

Donald Palmer wrote:
Create a folder.
select file to zip.
right click on file.
choose compress.
put resulting file in newly created folder.
No, first file must stay uncompressed until the final zipping occurs.
I found the answer by browsing around. There is a nice AppleScript called ePub Zip (http://www.mobileread.com/forums/showthread.php?t=55681) that just works.
I read around that it can be done via Terminal with two commands:
+zip -X0 "full path to new epub file" mimetype+
and
+zip -rDX9 "full path to new epub file" * -x "*.DS_Store" -x mimetype+
I didn't check it though.
Thanks for the support,
lux

Similar Messages

  • How can i use isight camera to broadcast to web with Mac OS 10.4?

    I am using an iBook G4 running OS 10.4 as a printer server.  I have to do this to be able to print on my HP DeskJet 882c printer from computers running OS 10.6 and above (although I have not been able to get it to work with 10.8).
    I can connect an iSight camera to the iBook via FireWire.  Can I set that up to broadcast a video feed to a web site so I can visually monitor the area near the laptop and printer?

    jrmnewtonma wrote: How can i use isight camera to broadcast to web with Mac OS 10.4?
    You could use compatible older versions of QuickTime professional extensions for your Mac OS X version.
    This professional quality software is very powerful, and it will certainly stream any video you need.  However, it is not simple to use, so be prepared to do some research and study to get it configured and working.
    To use your iBook with its OS X 10.4, you will need QuickTime Broadcaster 1.5.3 
    and Darwin Streaming Server (v5.5.5) (if you need streaming server functions.) 
    Although I have never used it, QuickTime Streaming Server 4.1.1 might be a useable substitute for Darwin.
    Message was edited by: EZ Jim
    Mac OSX 10.8.3

  • How can I convert a .dat to a .zip on a Mac?

    Hi -
    I friend wanted me to update his company's website which runs on a MS Exchange Server/Sharepoint set up.  He zipped all the html, jpeg, and assorted text files and attached that zip file to an email.  When I received it on my Mac it had been converted to a ".dat" file.  He tells me that this is the result of sending a zipped file over the MS Exchange Server mail system to a Mac. (Whatever happened to cross-platform?)
    Is there a Mac utility I can use to convert this dat file back to a zip file that I then can open on my Mac?
    TIA
    Josh

    Hello:
    This article addresses your issue:
    http://docs.info.apple.com/article.html?path=Mail/10.7/en/mlhlp1141.html
    Barry

  • How can I put the signature into the data file.

    Hi all,
    I want to put the signature into the data file, mean the data file will be on the top and the signature will be at the buttom.how can i do that?
    Thanks.
    example:-
    dataFile.txt
    Name=...
    Address=...
    Signature=6A07C70E....123FEAB(Hex)

    Thanks for your reply.
    First, i have a keypair (public key and private key).
    I use the private key to initialize the Signature and
    use the Signature to sign a data file ( dataFile.txt) .
    So when i need to comfirm the data file not being modify
    I have to verify the data file with the Signature and the public key.
    I hardcoded the public key in my program so my client (receiver of data)
    need only the Signature file and the data file (2 files).
    So how can i combine the Signature file and the data file into 1 file?

  • How can I put garage band on my iPad from my Mac book pro

    I have garage band on my Mac book pro can I put  it on my new ipad

    No. Mac programs are built for a different OS and hardware platform. You can buy an iOS version of GarageBand, iMovie, or iPhoto.

  • How can i put my pictures from my picture files into my iPhotos for photo streaming onto my apple tv?

    Hi, I am a new user to iMac and have now bought just about every Mac product you can think of and have just taken delivery of an Apple TV and now want to stream photos but don't know how to transfer photos from my picture files over into my iPhotos for Photo Streaming. Is there an easy way? I have Mac for Dummies but they don't mention it there!! Guess it's too dummy for them!!! Any one out there can help me as I have loads of pics I would like to see on the big screen from time to time

    You need to connect the Apple TV and the computer to the same network and then turn on "Home Sharing" in iTunes. Check boxes allow you to select what you want to share.
    You'll see a "Computer" icon on the Apple TV and it holds all your music, movies and photos.

  • My I pod is about 15 yrs old how can I put music on it from a file, My I pod is about 15 yrs old how can I put music on it from a file

    Is there any way I can down load music from a file to my 15 yr old I pod

    Hello DeeHendrixson,
    It sounds like you would like to sync some music to your iPod Nano. You can use iTunes to sync your media over to it. The following article will help:
    iOS: Syncing your data with iTunes
    http://support.apple.com/kb/ht1386
    Sync using USB
    Open iTunes.
    Connect the iOS device to your computer using the included USB cable.
    Click the Device button in the upper right corner. (If viewing the iTunes Store, click the Library button first.) If you don't see your device, you may need to hide the sidebar. Choose View > Hide Sidebar.
    Some tabs may not appear if you don't have the corresponding content in your library. For example, if you don't have any podcasts in your library, the Podcast tab won't appear.
    Click Apply, in the lower-right corner of the screen, to sync.
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • ESA scanning for a file inside of a zip inside of another zip.

    There is a new file-encrypting ransomware called CTB-Locker going around that places a malicious .cab file inside of a .zip file inside of another .zip file.  Two questions:
    1) How far will an ESA scan depth wise into zips inside of zips.
    2) Is a .cab file considered an executable by ESA or something else?  If it is considered an executable, would a block based off of this match (attachment-filetype == “Executable”) catch this type threat?
    Reference to the CTB-Locker: https://www.f-secure.com/weblog/archives/00002788.html
    Thanks

    As an additional safe-gap measure, i would also suggest (unless of course you're receiving a lot of emails with .cab attachments normally) to put in an extra filter to quarantine emails with .cab attachments as most of the attacks seen are coming as .cab formats at the moment.
    In terms of how deep it'll look in.
    for .zip .rar filetypes, it will look as deep as you've set it.
    So if it's a viral file inside a zip (where the viral file is  an executable) it will be unable to unpack up the zip and capture the executable at the content/filter levels.
    However normally the AV engine itself (mcafee and sophos) should be able to sort it out for you assuming the viral definition is available already.

  • Hello Guys. I had problems in the Computer before and changed my HD. I saved in my all files documents in (Time Capsule). How can I put all my files, pictures documents on my new HD? Please Help. Thank You

    Hello Guys.
    I had problems in the Computer before and changed my HD. I saved in my all files documents in (Time Capsule). How can I put all my files, pictures documents on my new HD?
    Please Help.
    Thank You
    Julio Skov

    Hey
    Thank you very much for replay.
    Would you explain to me how can I do?
    I don't really understand these processes.
    Thak you very much
    Julio

  • How can i put a "/" or "\" in a file name with filewriter?????

    hi there
    how can i put "/" or "\" in a file name? i am using filewriter to create file, here is my code
    String fileName = year+"\\"+month+"\\"+date+":"+hour+":"+minute+":"+second+FILE_EXTENSION;
    fw = new FileWriter("users"+"/"+userDirectory+"/"+OUTPATH+"/"+fileName, false);
    i keep getting error message :"invalid file name, path, directory...", i want to have the following format in my file name: yyyy/mm/dd:hh:mm:ss.txt,
    do you know how to get date and time in this format: ie. March 10, 2002 14:01:32, or something like this?
    thank you

    You are using invalid characters in you name. For example,
    : - is used to separate the drive from the path
    / - is used to separate directories
    therefore they can't be used in the filename.
    Open an editor and try creating a file using the format you want and see if the editor can save it, before attempting to do it in Java.

  • How can I put the report generated by a program into a File?

    Hi all,
       How can I put the report generated by a program into a File?It can be in TXT format or excel format which ever is possible.
    I need to export this file to memory,How can I do that??
    Regards,
    Shashank.

    Hello Shashank,
    Please ignore my previous answer... Ofcourse it works...
    There are several ways to do this...
    two of them are
    1. List -> Save -> File and press enter..
        it will ask for the format, then path where to save it. Just give the path.
    2. Using function module 'GUI_DOWNLOAD'.
    I'm giving the example bellow which explains the usage of both GUI_UPLOAD and GUI_DOWNLOAD.
    To do this... you need to have folder with name 'TEST' and a .txt file in it with name 'test'. And contents of it are :
    TEST1             ,BOT 
    TEST2             ,BOT 
    TEST3             ,BUT 
    with spaces.
    REPORT zssr_bdc .
    DATA: BEGIN OF g_t_itab OCCURS 0,
            matnr LIKE mara-matnr,
            maktx LIKE makt-maktx,
          END OF g_t_itab.
    DATA: g_t_bdcdata TYPE TABLE OF bdcdata.
    DATA: path TYPE string,
          path1 type string.
    path = 'C:\Documents and Settings\ssr3kor\Desktop\TEST\test.txt'.
    path1 = 'C:\Documents and Settings\ssr3kor\Desktop\TEST\test1.txt'.
    *contents of test.txt    *
    *TEST1             ,BOT  *
    *TEST2             ,BOT  *
    *TEST3             ,BUT  *
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename = path
      TABLES
        data_tab                      = g_t_itab.
    LOOP AT g_t_itab.
      WRITE:/1(18) g_t_itab-matnr, 20(40) g_t_itab-maktx.
    ENDLOOP.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
       filename = path1
       filetype                      = 'ASC'
      TABLES
        data_tab                      = g_t_itab.
    Now you will get one .txt file with name 'TEST1.TXT' in the TEST folder.
    <b>REWARD POINTS IF IT IS HELPFUL</b>
    Regards
    Sasidhar Reddy Matli

  • How can we put .ICO file on JButton instead of JPG or GIF etc. files

    How can we put .ICO(Icon file) file on JButton instead of JPG or GIF etc. files
    Regards
    Satinderjit

    Short answer:
    You don't. ICO files are a native windows format.
    Workarounds:
    1) Convert your files to GIF.
    2) Search for a library that can load ICO files.
    3) Write a library that can load ICO files.

  • How can i put files on my iphone 3g

    is seen as a digital camera and is seen as an iphone in itunes but how can i put my movies and other stuf on my iphone by just placing the files on my iphone (wifi is broke gona fix it soon)(using most updated version of ios) (using win7 64 bit).

    open itunes, connect iphone. select what you want to sync, sync.
    iPhone User Guide (For iOS 5.1 Software)

  • How can I put download file back on dock?

    How can I put download file back on dock?

    Welcome to Apple Support Communities
    If you want to put a folder in the Dock, open a Finder window and drag the folder to the right part of the Dock. In this case, you want to put the Downloads folder in the Dock again, so open a Finder window and drag Downloads from the Finder sidebar to the right part of the Dock

  • How can i put back files that were accidentally put into trash

    How can i put back files that were accidentally put into trash.  I'm using Mountain Lion on my Mac Book Pro

    command Z if it was the last thing you did.
    Control (right) click on any item in the trash folder>> Put Back

Maybe you are looking for