How do you use zip files?

Hello all,
I have always stayed away from ZIP files (as in doing it myself, to my own files), since my days in Windows, after all the countless corrupt ZIP files I received from others, that simply would not UNzip...
But recently I've come across references to them again, and I realised I might be missing a trick or two....
Any comments on the following would be appreciated:
1.) What can I use them for?
As in - could I ZIP my entire folder of holiday pictures - all 13GB's of them?
Or is there some sort of size limit, where anything over, and things become problematic?
Are some file types Zipped better than others?
2.) How does it actually work?
As in - what happens to my original files?
Assume the holiday pics are Zipped - do the orginals get compressed, or can I select it so that copies are Zipped, as a kind of backup?
3.) How safe is it?
As in - assuming my hardware and software are all OK, nothing buggy etc. - if I create the ZIP file, pop it somewhere on a USB/External/the same laptop, and then Unzip it later, when I need them again - am I correct in assuming that the chances of the file being corrupted, are relatively slim?
And coming back to those holiday pics - could the compression process result in a loss in picture quality/resolution, were I to then unzip the file? Or - assuming everything works as planned - will the quality of the pictures/file emerge exactly the same as they were prior to being compressed?
I realise all of the above are ridiculously simple questions - but googling this doesn't really help, as most sites simply explain the how to, not the WHY...
The WHY articles were probably all written 15 years ago already... I'm just very, very far behind....
Thanks in advance!
[Mid-2012 MBP 8GB Ram; OSX ML]

Zipping an image file should have no effect on image quality, as the image data is not actually changed.
Note that there's very little point in zipping a folder full of images, unless the images are not a compressed file type. You can't compress data that is already compressed - in fact, trying to do so often increases the file size - and JPEG images, for example, are already compressed.
For the most part, you don't need to use zip at all. I absolutely DO NOT recommend storing your files and/or folders on the hard drive in compressed form as a space-saving measure. It doesn't save enough space to be worth the time needed to compress files large enough to warrant it on a modern drive. Accessing zipped files is a pain, too, since you basically have to decompress the whole thing in order to access a file inside a zip file.
Zip becomes useful if you need to attach a large number of files to an e-mail message (zip the files, then attach the single zip file) or want to create an archive of multiple files to download from a web site through a single link. In other words, in situations where you need to transmit many files over the internet, especially where Windows users may be involved, zipping files can be either important or a convenience.

Similar Messages

  • How do you install zipped files

    I have downloaded a zipped file and when I open it to install it I can't find where it goes. I have ended up saving it about ten times. I am new with the apple but this is the first time I have not been able to install a download. Thanks for your help.

    If you have downloaded the zipped file from the web, it should go into your "Downloads" folder, based on the preferences in your web browers.
    Are you using Safari? If you are, go to the downloads window, right-click, select "Show in Finder".
    Once the file is unzipped, you can select the unzipped disk image or installer and launch it to install your application.

  • How to check & unzip zip file using java

    Dear friends
    How to check & unzip zip file using java, I have some files which are pkzip or some other zip I want to find out the type of ZIp & then I want to unzip these files, pls guide me
    thanks

    How to check & unzip zip file using java, I have
    ve some files which are pkzip or some other zip I
    want to find out the type of ZIp & then I want to
    unzip these files, pls guide meWhat do you mean "other zip"? Either they're zip archives or not, there are no different types.

  • How to append to zip files

    I would like to know how to append to a zip file, I know how to write a zip file and I can put as many entries in the first time but if I run my program again and try to add a file to the same zip file it erases what was already in it. I use ZipOutputStream(new FileOutputStream), I have tried the FileOutputStream append but it does not seem to work for zip files, I have tried RandomAccessFile on my zip file but that just seems to add the bytes to the file that already in the zip file, and makes the file unopenable, corrupt. If you can help, please tell me how.

    You actually have to open the previous zipped file, read it's entries and their data and then rewrite a new zip file with these entries and their data. You can then delete your first file and rename the new one so the effect is that you have "appended" zip files to the existing archive.
    Here is an example which I pieced together from a larger bit of code that I have. This would need to be in a try/catch but this should give you a start.
    /** This method adds a new file to an existing zip file. It * includes all the zipped entries previously written.
    * @param file The old zip archive
    * @param filename The name of the file to be Added
    * @param data The data to go into the zipped file
    * NOTE: This method will write a new file and data to an archive, to
    * write an existing file, we must first read the data frm the file,
    * then you could call this method.
    public void addToArchive(File file, String filename, String data)
         ZipOutputStream zipOutput = null;
    ZipFile zipFile = null;
    Enumeration zippedFiles = null;
    ZipEntry currEntry = null;
    ZipEntry entry = null;
    zipFile = new ZipFile( file.getAbsolutePath() );
         //get an enumeration of all existing entries
    zippedFiles = zipFile.entries();
         //create your output zip file
    zipOutput = new ZipOutputStream( new FileOutputStream ( new File( "NEW" + file.getAbsolutePath() ) ) );
    //Get all the data out of the previously zipped files and write it to a new ZipEntry to go into a new file archive
    while (zippedFiles.hasMoreElements())
    //Retrieve entry of existing files
    currEntry = (ZipEntry)zippedFiles.nextElement();
    //Read data from existing file
    BufferedReader reader = new BufferedReader( new InputStreamReader( zipFile.getInputStream( currEntry ) ) );
    String currentLine = null;
    StringBuffer buffer = new StringBuffer();
    while( (currentLine = reader.readLine() ) != null )
    buffer.append( currentLine);
    //Commit the data
    zipOutput.putNextEntry(new ZipEntry(currEntry.getName()) ) ;
    zipOutput.write (buffer.toString().getBytes() );
    zipOutput.flush();
    zipOutput.closeEntry();
    //Close the old zip file
    zipFile.close();
    //Write the 'new' file to the archive, commit, and close
    entry = new ZipEntry( newFileEntryName );
    zipOutput.putNextEntry( entry );
    zipOutput.write( data.getBytes() );
    zipOutput.flush();
    zipOutput.closeEntry();
    zipOutput.close();
         //delete the old file and rename the new one
    File toBeDeleted = new File ( file.getAbsolutePath() );
    toBeDeleted.delete();
         File toBeRenamed = new File ( "NEW" + file.getAbsolutePath() );
    toBeRenamed.rename( file );
    Like I said I haven't tested this code as it is here but hopefully it can help. Good luck.

  • How do you delete a file from an iPad?

    How do you delete a file from an iPad?
    There are 2 versions of a document file on my iPad.
    I want to get rid of the obsolete one.
    The iPad Users Guide does not describe how to delete a document file.
    This is very frustrating!

    The iPad Guide is for the iPad itself, not other apps you may install.
    If you use Pages then read the online help here: http://help.apple.com/pages/ipad/2.2/ - specifically this: http://help.apple.com/pages/ipad/2.2/#/tancfc4d5c02
    Delete a document from your iOS device
    In the document manager, tap Edit.
    When the documents begin to jiggle, tap the ones you want to delete.
    Tap , then tap Delete Documents.To cancel, tap anywhere in the document manager background, or tap Done.

  • How do you use one managed session bean from another?

    Hello -
    I am a complete newbie to JSF coming from Struts 1. My question is how do you use one managed bean from the method of another one? I think this would be a common senario. For example I put a bean in session scope when a user logs in and in a different method within a different bean I want to get some of this user's information. What is the correct way to retireve one bean from a method in another with session scope?
    Also what would the code look like to retieve another bean from the method of a managed bean where the bean you want to retrieve has application scope?
    Thank you in advance.

    Sinplicity wrote:
    Could you be a bit more specific? If a bean is configured in the faces config file then all of it's properties are managed, correct?Not necessarily.
    What would the code look like to retireve the bean?You don't retrieve it, it has been injected.
    Can I retrieve the whole bean or just a property of the bean. I would be really interested in seeing how this is done in code? And would really love a bit more information on what it means to be a managed property?Time to consult a JSF tutorial.

  • Not sure if Mavericks is worth the effort of downloading and I prefer mountain lion.  How do you make a file in Finder.

    I am not sure if Mavericks is much better than Mountain Lion as an OS.  The maps part was okay but I could not view the map as shown on the apple website, there was no 3D.  How do you create a file in Finder on the MacBook Pro.?

    Duuuuuuuuuuuuuuuuuuuuuuuude!!!!!!!!!!!!  YOU DID IT!  I cannot believe it!
    I changed "Move To Trash" to "Move to Trash" and selected a file.  I had lost all hope, so I took a minute to prepare myself for yet another moment of deep frustration.  Then I pressed F10, and bang! the file was trashed!!!  It took me a couple minutes to actually believe what just happened.  Thank you so much!  If I could, I would "like" you as many times as I can physically hit the "Liked" button!
    PS: what the heck is wrong with Apple though???  Wrong instructions, incorrect help instructions on their own site.  The chances of figuring this out before having a nervous breakdown were like one in a million (approximately, I did not actually do the math).  Last week, the keyboard and the trackpad stopped responding on my brand new macbook pro for a couple hours. I was not the only one with this problem.  Apparently, this was from a design flaw, which means it could happen again at any time.  iMovie doesn't work.  TextEdit keeps crashing all the time.  Emptying the trash can take hours. 
    Since 2000, I bought a PMac G4 Quicksilver, a used PMac G3 Blue, a used iBook G4, a used Pismo PBook G3, a used Graphite iMac G4, a used iMac G3 (green, 233MHz I think) and I already had more problems with this brand new macbook pro than will all the other macs combined...  For such an expensive machine, with 16GB of RAM, that's a little dissapointing, especially from Apple.  Maybe I'm just not lucky.
    Anyways, thanks again!  Best moment of 2014!

  • How to open a zip-file in Bridge for PC?

    How to open a zip-file in Bridge for PC?

    I think it's built in, just double click on it and it should open with Archive Utility. I dunno, maybe Unrar X might work for you>
    JB

  • HT3847 how do you determine a file is "empty"?

    I have somehow duplicated all my iTunes files... thereby taking up valuable space on my harddrive. This was caused by moving my iTunes "music, etc" back to the harddrive after using an external HD for a long time.
    I have read the article saying something about files being in "ITunes Media", rather than just "iTunes". So, it seems that I should just be able to remove all duplicates that have the path without "iTunes Media".  HOWEVER, I am not able to find the FOLDER called "iTunes Media" on my harddrive... which seems it should be in the "Music" folder. 
    Any guidance would be appreciated.
    Thanks.

    deb from sd wrote:
    HOWEVER, I am not able to find the FOLDER called "iTunes Media" on my harddrive... which seems it should be in the "Music" folder. 
    The iTunes Media folder is located in the /Music/iTunes/ folder.
    Everything in iTunes is in /Music/iTunes/ folder.
    deb from sd wrote:
    I have somehow duplicated all my iTunes files... thereby taking up valuable space on my harddrive. This was caused by moving my iTunes "music, etc" back to the harddrive after using an external HD for a long time.
    How did you "move" the files?

  • Migration Monitor - How Are You Using It?

    Hello!
    In this short discussion, you can help us to better understand how you are using the Migration Monitor – this better understanding would help the team responsible for this tool to adapt their automated tests accordingly and would also influence the future development decisions in this area.
    What is the Migration Monitor?
    The Migration Monitor is part of the software provisioning manager as of SAP NetWeaver 2004 SR1, but can also be executed manually. It uses the EXT, WHR, STR, TPL files to control the unload and load, to accelerate the load by automatic parallelization, and to generate the R3load task and command files (TSK and CMD files).The Migration Monitor does the following:
    Creates R3load command files
    Creates R3load task files if required
    Starts R3load processes to unload the data
    Transfers packages from source to target host if required
    Starts R3load processes to load data as soon as a package is available
    Informs the person performing the system copy in case of errors
    How Do You Use the Migration Monitor?
    Only for sequential unload and load - that is, you first unload to a local system, transfer the export directory to the target host, and then load using this directory.
    For parallel unload and load:
    a) Unload and load using a shared network directory
    b) Unload and load using transfer by FTP
    c) Unload and load using sockets
    In your reply, please just name your preferred option (1, 2a, 2b, or 2c) – and why you prefer it.
    Thanks a lot for your support!
    Boris

    Boris,
    Options - All three but mainly Option # 2.
    Option # 1 - To dynamically increase the number of parallel process from Source system. But in case of homogeneous system copies with massive database sizes, the database proprietary methods comes in handy than the R3load procedures.
    Option # 2 - To reduce downtime in migrations (hetero combinations) thru parallel export/import of data loads.
    Hope it helps.
    Regards,
    Srinivas K.

  • How can i use JS files in ADF for language translation.

    Hi,
    I have JS for different languages and dn't want to convert them to property files(resource bundle files). How can i use JS files in ADF for language translation.
    Thanks

    Hi ILya Cyclone,
    Thanks alotfor the reply. Can you tell me where should i include this in the jspx page.
    Step 1)
    I have the js file as js/ifl_messages_US.js and i created a resource file as you mentioned: JS_FILE_PATH=js/ifl_messages_US.js
    Step 2)
    Then added the entry in faces-config.xml for the resource file as follow:
    <resource-bundle>
    <base-name>resource_en.properties</base-name>
    <var>resource</var>
    </resource-bundle>
    <locale-config>
    <supported-locale>en</supported-locale>
    </locale-config>
    Step 3) This is my jspx page. In which a table is dynamically created on page load. Can you help me where should i enter the "#{resource.JS_FILE_PATH}"
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:messages id="m1"/>
    <af:resource type="javascript" source="/js/pdfFile.js"/>
    <af:form id="f1">
    <input type="hidden" name="checkRadio" id="checkRadio" value=""/>
    <af:panelGroupLayout id="pgl1" halign="left" layout="vertical">
    <af:image source="/images/BRAND_IMAGE.gif" id="i1"/>
    </af:panelGroupLayout>
    <af:spacer width="10" height="10" id="s1"/>
    <af:table varStatus="rowStat" summary="table"
    value="#{backingBeanScope.DummyBean.collectionModel}"
    rows="#{backingBeanScope.DummyBean.collectionModel.rowCount}"
    rowSelection="none" contentDelivery="immediate" var="row"
    rendered="true" id="t1" styleClass="AFStretchWidth"
    binding="#{backingBeanScope.DummyBean.myTableBinding}"
    columnResizing="disabled">
    <af:column id="c2" headerText="Actions">
    <af:activeOutputText value="#{row.Actions}" id="aot2"/>
    <af:goLink text="#{row.Actions}" id="gl1"
    clientComponent="true" visible="false"/>
    <af:selectBooleanRadio text="" id="sbr1"
    valueChangeListener="#{backingBeanScope.DummyBean.checkselectbox}">
    <af:clientListener method="selectCheckBox" type="click"/>
    </af:selectBooleanRadio>
    </af:column>
    <af:forEach items="#{backingBeanScope.DummyBean.columnNames}" end="#{backingBeanScope.DummyBean.columnSize}"
    var="name" begin="1">
    <af:column sortable="false" sortProperty="#{name}"
    rowHeader="unstyled" headerText="#{name}"
    inlineStyle="width:100px;" id="c1">
    <af:activeOutputText value="#{row[name]}" id="aot1" escape="false">
    </af:activeOutputText>
    <!-- <af:outputFormatted value="#{row[name]}" id="of1"/>-->
    <!--<af:goLink text="goLink 1" id="gl1"
    destination="#{row.bindings.url.inputvalue}"/>-->
    </af:column>
    </af:forEach>
    </af:table>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Thanks in advance

  • How do you have a file automatically open in mail, like a Constant Contact email?

    How do you have a file automatically open in mail, like a Constant Contact email?
    Thanks,
    Lauren

    If there is a way to automatically open an attached file in a Mail item, it is not one that I would use, because I want to stay in control of my Mac!  Who is it from, whats in it and so on... To me bad idea but then the choice is yours.

  • How can you back up files that are on an external drive?

    How can you back up files that are on an external drive?

    hw999 wrote:
    How can you back up files that are on an external drive?
    Easy way, CLONE IT to another HD
    HD cloning software options:
    1. SuperDuper HD cloning software APP (free)
    2. Carbon Copy Cloner APP (will copy the recovery partition as well)
    3. Disk utility HD bootable clone.
    Methodology to protect your data. Backups vs. Archives. Long-term data protection
    https://discussions.apple.com/docs/DOC-6031
    hw999 wrote:But all I want to do is include the data that I store on an (second) external drive (internal drive getting too full) part of the auto back up process using timemachine.
    BAD IDEA
    You want one backup (ie Time machine) and one (or more) data archive of just all your raw files (drag and drop, or cloned etc.)

  • Cssmill - how do you use it?

    Looking at cssmill for the first time, and i'm trying to figure out some things...
    1) how would you use cssmill to create the default - out-of-the-box stylesheets? The ones that are deployed after install don't have any 508 styles, but they are generated by cssmill. You would have to edit the template files to exclude these styles.
    (edit, i see now that removing the d_ styles is done by the make_508_css task, but its erroring out on my machine)
    2) out of the box css has no comments. cssmill includes all comments. run them though a css compressor first?
    3) make_portal_css. is this a relic from yesteryear? why would the portal ever use mainstyle-en.css instead of mainstyleX-en.css?
    Is it worth trying to make changes to template files or just edit the resulting CSS manually?
    I'm thinking this should be my methodology:
    1) Create custom color.propertiles file(s) that make sense for my organization
    2) Generate css file
    3) paste all my custom stuff at the top
    I'd really love to get away from using cssmill completely but not sure if its possible.
    Edited by: Joel Collins on May 18, 2009 12:33 PM
    upon closer inspection, it looks liek the make_508_task is failing (silently) wtih the error: "The requested operation cannot be performed on a file with a user-mapped section open". this is what removes the comments and d_ lines
    Edited by: Joel Collins on May 18, 2009 1:22 PM
    i updated the java file under bin and it works now
    http://joelcollins.posterous.com/cssmill-508-fix

    I'm testing out a new way to do the stylesheets....let me know if you guys have any ideas or concerns...
    so i generate the stylesheets using cssmill...but then i rename them to mainstyleXX-en-orig.css
    then I create a custom stylesheet, wtih all of our custom styles (we override a lot of stuff...)
    then, i add @import statements at the top of that css class for the orig...
    so my stylesheet looks liek this:
    @import "mainstyleXX-en-orig.css";
    @import "analytics.css";
    html { height:100%; }
    body { font-family:arial, Verdana, sans-serif; font-size:12px; line-height:1.4em;  color:#333333; margin:0px; padding:0px; height:100%;}
    p { margin:1em 0;padding:0; }
    a:link     { color:#003399; text-decoration:none; }
    a:visited { color:#810081; text-decoration:none; }
    a:link:hover { text-decoration:underline;}
    a:visited:hover { color:#810081; text-decoration:underline; }
    ... etc...
    This way, when you orerride a style that is in the original stylesheet, you dont' have to modify the orig.css...

  • How do you use Default Resource Access Information?

    I have some 10g Forms & Reports that I want to use with SSO and they will all be connecting to the database with the same connection info. I know how to configure a Default Resource Access Information, but how do you use this with Forms & Reports?

    Douglas,
    the default Resource Access Infomation should be the connection information right? This is used in conjunction with SSO. You need to configure your F&R applications to delegate authentication to SSO by placing ssoMode=true in the config section of formsweb.cfg.
    The Forms Servlet will connect to OID retrieve the Resource Access Information (descriptor) for a given user and automatically log them into the application.
    Users will need a global identity in OID and SSO must be enabled to use resource access info with F&R
    regards,
    tt

Maybe you are looking for

  • Copy from AFP share to AFP share (via VPN-Connection) - stupid?

    Hi there We set up an OS X server in a remote facility and are connecting to it over a VPN connection (Netgear Firewall). Everything works fine, there's only one annoying issue: if I want to copy a file from a mounted AFP share (share1) to another mo

  • How to determine the file system on Solaris

    Friends, How to determine which file system I have installed UFS or ZFS on Solaris Thanks

  • Creating an e-mail with excel file attachment

    Morning, Does anyone know how to create an e-mail with a spreadsheet attachment (in foreground and background). I can create an e-mail (in foreground and background) with a text (tab delimited) file attachment with a suffix of .xls. I have created th

  • Question on Siebel/JDE integration

    I am a long time Siebel developer and am fairly new to JDE EnterpriseOne. My company has initiated a switch from Siebel 7.5.3 Service to JDE. The idea is to convert the Siebel data into the JDE database, but I am questioning this approach. Does anyon

  • Wireless card for Pismo 10.3?

    Hi all, Ethernet port died on my trusty 400Mhz Pismo, and already swapped its AirPort card into my newer TiBook, so looking for least expensive alternative to get the Pismo networked again. AirPort cards are available on eBay, but close to $100 . . .