Create archive

What is the best way to make a real zip archive on mac without using the zip command in the terminal. I am fine with using the terminal but my dad is not. I don't consider the "Create archive" method from the finder real because it adds all kinds of meta data thats annoying to open on windows and linux.

Hi--
Check out VersionTracker's compression utilities page. I see a few Zip utilities there. A quick browse shows a few, like YemuZip and ZipCleaner that specifically target the problem of resource forks and metadata.
charlie

Similar Messages

  • Adding a file to an already created Archive throws error

    Hello Experts,
    In one of the WLST python scripts, we had a piece of code which was adding a file to an already created archive. Below is the code snippet:
    import zipfile
    try:
    conn='1.properties'
    fileName='/home/pbnagara/temp/Zip1.par'
    myZip = zipfile.ZipFile(fileName, mode='a')
    myZip.write(conn)
    myZip.close()
    except Exception:
    print 'Exception occurred while writing to Zip file: ' + fileName
    --> it makes use of the standard python module [zipfile] to add a file to the archive.
    This code has started failing [for some strange unknown reason] when we upgraded.
    The same script works fine in a standalone mode[using the system's default python packages] but fails only when run within WLST.
    Does WLST package a different set of zipfile libraries? Can anyone point out what might be going wrong here?

    I did get a reply from someone on the jfreechart forum, but need to ask more questions. This was his reply:
    Hi Allyson,
    You are trying to add a (subclass of) JFrame to a JPanel...that won't work, of course, and Java tells you so.
    You need to create a ChartPanel to display your chart. This is a subclass of JComponent, which you can happily add to a JPanel (or any other container).
    Regards,
    Dave Gilbert
    Here is the code for the method:
    private void LineChartFrame() {
    double[][] data = new double[][] {
    { 1.0, 4.0, 3.0, 5.0, 5.0, 7.0, 7.0, 8.0 },
    { 5.0, 7.0, 6.0, 8.0, 4.0, 4.0, 2.0, 1.0 },
    { 4.0, 3.0, 2.0, 3.0, 6.0, 3.0, 4.0, 3.0 }
    DefaultCategoryDataset dataset = new DefaultCategoryDataset(data);
    // set the series names...
    String[] seriesNames = new String[] { "First", "Second", "Third" };
    dataset.setSeriesNames(seriesNames);
    // set the category names...
    String[] categories = new String[] { "Type 1", "Type 2", "Type 3", "Type 4", "Type 5", "Type 6", "Type 7", "Type 8" };
    dataset.setCategories(categories);
    // create the chart...
    chart = ChartFactory.createLineChart(
    "Line Chart Demo 1", // chart title
    "Category", // domain axis label
    "Value", // range axis label
    dataset, // data
    true, // include legend
    true, // tooltips
    false); // urls
    chartPanel = new ChartPanel(chart);
    chartPanel.setPreferredSize(new java.awt.Dimension(500, 270));
    setContentPane(chartPanel);
    }And I tried this to add it to my panel:
    jPanel1.add(chartPanel, null);But I get this error:
    java.lang.NullPointerException
    ChartPanel is defined globally in this file.
    jPanel1 is my main panel that I want to add the chart to.
    I am putting my last duke dollar on this in the hopes that someone can help. Thanks.
    Allyson

  • Create Archive, how to change the behavior of the default file naming?

    From an earlier post on archiving via the contextual menu in the Mac OS X Finder:
    "If you archive a single item, the archived file has the name of the original item with a ".zip" extension. If you archive multiple items at once, the archived file is called Archive.zip."
    Is there a way to change the behavior of this?
    I ask because I want to archive a single file, say "photo.psd" and when I do I get an archive called "photo.psd.zip" - is there a way to create an archive from the contextual menu and have the original file extension be appended? - in this case I would want "photo.zip" to be the end result.
    Also, is there a way to change the behavior of archiving multiple files? To, say, create a differently named file afterwards instead of the default "Archive.zip" - perhaps something a little more descriptive but standard, like "YourFilesCompressed.zip" - something that would stay the same across each archive creation.
    Thanks, I've been manually renaming after all create-archive's. And I do realize other applications could probably do this, but I'm thinking there must be a way to do this in the finder, no? A terminal command? Any ideas would be appreciated.

    Try looking at the documentation for the ditto and zip Terminal commands.
    (14504)

  • Problem with create archive from mini-DV tape

    I have a fairly large collection of homemade mini-DV tapes. They are getting a bit old and I would like to back them up to my computer as well as have easy access to the footage with FCP.
    The tapes were made on a Sony TRV8 camcorder (either directly or as backups of older VHS tapes). I am using the same camcorder for playback.
    The camera shows up as expected in FCP. My goal is to "Create Archive" on each tape. Here is where I ran into some problems.
    My first tape ran about halfway through - around the 30 min mark and gave me a "end of tape" message. The footage was captured properly, but there is still half the tape to go. I tried a second time and only reached the 5 minute mark when the archiving ended with an "end of tape" message. I am on my third try as I type this and have made it to the 15 minute mark.
    I thought to possibly create multiple archives, picking up where I left off. However, whenever I select "create archive" FCP insists on rewinding the tape to the start. This behavior differs from the Apple KB article which states archiving will start from the current position of the tape.
    Adding to the problem is an issue of jittering playback.
    When I playback using the camera controls of the "play" button in the import window, things are fine. When "Create Archive" handles the playback on its own, the pictures jumps as if it is on a trampoline. Sometimes I am able to hit "stop" and then "play" to get a normal playback - sometimes hitting stop stops the archive with an "end of tape" message.
    Any ideas on what is going wrong or how to work around it? I have over 100 tapes to archive. If each tape requires numerous attempts to archive, this will never get done. I thought the archive process was supposed to import the entire tape?

    The bit about archiving from the current tape position is from Apple:
    "Final Cut Pro begins archiving from the current location on the tape."
    From Final Cut Pro X: Create and manage camera archives
    Last updated 9.16.14
    Obviously, that is wrong.
    The part about archiving ignoring timecode and just archiving the entire tape I have read in several online forum posts. Some I believe are in this forum. These same folks usually advise to use archive rather than import in a bad TC scenario. Again, it seems that wrong information.
    I am now simply doing an "import" of a tape, which appears to be working as expected. Seems either the age of the tape and/or the playback device is causing less than perfect timecode. Lot's of stutters resulting in a single "scene" being imported as many separate clips. I understand what you mean by assembling when ready to edit, but this is not practical. It looks like some areas are broken down to clips of 1-2 seconds (some even less).
    What a mess. I'm looking for a mini-DV player as I suspect my camcorder may be the culprit. Not easy to find one.
    Seems I will have to assemble the multiple clips to recreate the original. I am hoping I can then output the assembled sequences to DV files to maintain the "original" quality of the import (which should be the same as the tape since it is all digital). I would then create some FCP libraries to organize and store the clips.
    Was really hoping to simply do the camera archive thing. My tapes are all cataloged and organized. Having a number of archives which match each tape would have saved a lot of time and trouble.
    --and thanks for the help. It's a bit frustrating trying to preserve old tapes, especially when things don't work how you expect. Any workarounds or ideas to get a library of raw files out of this mess is appreciated. IF I can get that far, I plan to back up to M-disc.

  • Can't create archive from file menu

    Hello,
    I can't create 'archive' (tar.gz) from file menu in Color (Save Archive As...).
    I don't have authorization problem on my folder project; i can create myself a tar.gz archive in the folder Archive of my Color's project.
    The system.log file said:
    Jul 16 09:45:51 fcp1 [0x0-0x1e01e].com.apple.color[215]: tar: Cowardly refusing to create an empty archive
    Jul 16 09:45:51 fcp1 [0x0-0x1e01e].com.apple.color[215]: Try `tar --help' or `tar --usage' for more information.

    some other users report difficulties, crashes, freeze-ups and very long save times associated with the Operating System and Finder. There is apparently some background file compression utility that may be interfering with your save routine. There are a couple of threads related to this issue on this forum, so a bit of searching may yield a solution.
    I haven't encountered it in nearly four years of day-to-day with three separate systems in either Tiger or Leopard. Suffice to say that if you have any third-party whiz-bang utilities running, COLOR is very vulnerable to OS corruption as it is a stripped-out race car that doesn't expect or tolerate much else when it comes to sharing the computer.
    jPo

  • How to script File Menu "Create Archive of..."

    I have been trying to script the File Menu's "Create Archive" command but i can't figure out how to add the quote characters around the items name when only one item is selected for archiving. I have tried the escape character but applescript errors on it. I can get it to work if I use menu item number, but that varies by system.
    here is what I have so far.
    try
    tell application "Finder"
    activate
    select item "PicaX4:BackUp:"
    end tell
    tell application "System Events"
    tell process "Finder"
    -- create archive
    click menu item "Create Archive of \"BackUp\" " of menu 1 of menu bar item "File" of menu bar 1
    end tell
    end tell
    on error errMsg
    end try
    on a related topic, how do I wait for the completion of the archive process so I can then do something with the zip file?
    any feedback would be greatly appreciated.
    thank you, greg

    Since 'Create archive' basically creates a .zip file, it would be far easier to use a shell script to do this:
    do shell script "/usr/bin/zip -r /Volumes/PicaX4/BackUp.zip /Volumes/PicaX4/BackUp"
    If you still want to take the UI approach you should note that the menu item uses 'smart' quotes “and” and not the regular quotes.

  • File Adapter - Error creating archive directory adapter file

    Hello,
    I've a interfase File to RFC. In sender CC i have Archive Directory.
    It occurs the follow error:
    Error creating archive directory adapter file
    The archive directory exists.
    any idea?
    thanks very much

    Hi Silvia,
    Check whether the user you are using for FTPing is having proper authorizations.
    Also, verify whether you have the archive directory in place.
    Regards,
    Neetesh

  • Create Archive with Automator without folders in path

    I am using Automator to create an Archive.
    Using "Get Specified Finder Items" to get
    NAME                                       PATH
    a.jar                                          Macintosh HD -> Builda -> a.jar
    b.jar                                          Macintosh HD -> Buildb -> b.jar
    Then using "Create Archive"
    Save as "c"
    Where:  'D'
    In folder 'D' there is a zip file 'c.zip'
    In 'c.zip'  there are 2 folders:
    Folder 'Builda' which contains a.jar
    Folder 'Buildb' which contains b.jar
    I don't want the Folders.
    I want just 'c.zip' containing 'a.jar and 'b.jar'
    Can anyone help?

    Get Specified Finder Items
    Get Folder Contents
    Copy Finder Items
    --To: tempfolder
    Create Archive
    Trash tempfolder when you're done.

  • Unable to create Archiving for non-cumulative InfoCube

    Dear Gurus,
    I'm working with BI in SAP Nw 2004s with SAPKW70016 (Support Package 16) and need to create archiving on a non-cumulative Infocube (copy of 0RT_C36) but can't use tx RSDAP. Although I found note 1056294, which says that upon SP14 it can't be done the following message is sent:
    Cannot create data archiving process for ZRT_C36
    Message no. RSDA109
    Diagnosis
    You can only create a data archiving process for standard DataStore objects and standard InfoCubes. You cannot create a data archiving process for other InfoProviders such as VirtualProviders.
    In particular, non-cumulative InfoCubes and write-optimized DataStore objects are not currently supported.
    Please let me know what is wrong or how can I do this archiving in 2004s. I also read some documentation about RSDV transaction but couldn't find how to implement it using tx. RSDAP.
    Thanks in advanced.
    Best regards,
    Pilar Infantas.

    Please, any feedback about this issue???

  • Does exist any top creating archives in a file system in solaris 10?

    I need to know if exist any limit creating archives in a file system in solaris 10
    thanks

    http://www.unix.com/solaris/25956-max-size-file.html

  • Cloning 10g Database in archive mode - How add new created archive files

    Deat all
    I want to clone oracle 10g database using hot backup. database in archive mode.
    Database is running user data entry contifue, during hot backup there are aproximatly 3 to 5 new archive log created. Please guide me how add these new created archive log in cloning process.
    Thanks
    Alter system switch logfile;
    SQL> select max(first_change#) scn from v$archived_log;
    SCN
    8592924
    alter tablespace tablespace1 begin backup;
    alter tablespace tablespace2 begin backup;
    alter tablespace tablespace3 begin backup;
    alter tablespace tablespace1 end backup;
    alter tablespace tablespace2 end backup;
    alter tablespace tablespace3 end backup;
    select name from v$archived_log where first_change# >= 8592924 order by name
    NAME
    F:\ARCHIVELOGS\ARC00390_0664080689.001
    F:\ARCHIVELOGS\ARC00391_0664080689.001
    F:\ARCHIVELOGS\ARC00392_0664080689.001
    create pfile='init<new database sid>.ora' from spfile;
    alter database backup controlfile to trace as '/home/oracle/cr_<new sid>.sql'
    STARTUP NOMOUNT
    CREATE CONTROLFILE SET DATABASE "ORCL" RESETLOGS FORCE LOGGING NOARCHIVELOG
    MAXLOGFILES 50
    MAXLOGMEMBERS 5
    MAXDATAFILES 100
    MAXINSTANCES 1
    MAXLOGHISTORY 453
    LOGFILE
    GROUP 1 'E:\oracle/oradata/dg9a/redo01.log' SIZE 100M,
    DATAFILE
    Edited by: Naeem Sheeraz on Nov 15, 2008 12:54 PM

    When you attempt to startup the cloned database on the new server you will find that it needs recovery -- because it was taken in hot backup mode.
    That is why you need to copy the archivelogs that are generated from the first archivelog after the first "alter tablespace begin backup" to the first archivelog after the last "alter tablespace end backup".
    I see that you are also including a CREATE CONTROLFILE script.
    You would run that at the cloned environment.
    Then you would issue the RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL command to make the clone consistent.
    You can, of course, use the same method to copy these archivelogs as you use to copy database files -- tar, cpio, tape, etc.

  • Create archive of

    I upgraded to Leopard, but saw this "Create archive of" option in a "Quick Tip of the Week" video. A friend of mine that still has Tiger said that she still has this option on her OS version.
    Click the link below:
    http://www.apple.com/business/videotips/?sr=hotnews
    As you can see, the file size is reduced dramatically. Did they get rid of this option in Leopard? The "Compress" option is not the same. Yes, the file zips but zips as the same size, unlike the "Create archive of" option within Tiger. Any help would be appreciated.

    Now that I found that answer, I'm going to answer my own question for others that have the same question. Leopard does have the "Create archive of" option and it is the same as the "Compress" option. The reason why I was questioning the two being different was because I saw in the "Quick Tip of the Week" video that when you used this Archive option within Tiger, it dramatically reduced the size of the file, yet it did not reduce the file size with Leopards "Compress" option. Well, the reason why it did not reduce the file size was because I was Archiving/Compressing a folder full of music MP3's. MP3's are files that are already compressed, which is why Archiving/Compressing them did not show a drop in file size. Other files such as pictures and regular text documentation will show a drop in file size when you Archive/Compress them. Apple decided to change the name from "Create archive of" to "Compress". I hope this clears up any confusion that anyone else might have in the future.

  • "Create Archive of" file destination

    Very strange… on my computer, when I control-click a folder and choose "Create Archive of…", the resulting .zip file ends up in the same folder as the original. I've just been helping my girlfriend archive some old files, and on her computer, the .zip files are sent to the Desktop. Very confusing, and not the intended behavior. I've looked around in any preferences I could find, and even dug into some of the .plist files within applications, and could find no way to change this. Any ideas?

    I don't know if this is what you are observing, but the default location where the archive is created seems to be the same folder where the original is located. However, if the person creating the archive doesn't have sufficient privileges to modify that folder, the archive ends up on their "Desktop". In this context, I suspect that it is the intended behaviour...

  • How to use "create archive" on a list of folders to make separate archives?

    I have a folder of folders that I want to archive, but I don't want to create a big archive of the entire folder. I want to create archives of each folder underneath the top folder (each folder is a separate book). When I try to get the list of folders that I want to archive, and then archive them, it insists on making one large folder containing everything. Isn't there a way to make it loop over the folder results and archive each one individually?

    No loops in Automator yet... though the variable function in Leopard may allow them.
    Until then, you can use an AppleScript for that step. Post a question in the AppleScript forum if you need assistance writing the script.

  • Create Archive splits one video into 3 parts -- why?

    I'm finding that Final Cut Pro X can import video from my tape-based Canon GL2 with no problem for the most part. But when I choose Create Archive instead of importing, for a one-hour miniDV tape, the Archive typically shows up as two or three separate clips. This happens even with a one-hour video I just shot last week, as one continuous video. When I import the archive, I'm stuck with three separate clips that, when assembled in a project timeline, have an audible glitch where the breaks are. Anybody know what might be causing this, and what I can do about it (other than not use the Create Archive function)?

    BenB wrote:
    …  Well, about that FAT 32 issue, as a retired IT engineer I can factually say no it doesn't.  1st, a Mac can not write files to a FAT 32 Windows format drive.  Read, yes.  Write, no. 
    you should tell Apple, e.g. in this article
    http://support.apple.com/kb/HT3764?viewlocale=en_US&locale=en_US
    fat32 is read/write for years.
    using it on a daily basis.
    or, ever noticed the formatting option in MacOS' DiskUtility?
    ever used an out-of-the-box usb-drive? any manufacturer, any size? in 99% fat32 formatted, fully functional with MacOSX.
    or did you mean ntfs?
    … but as a 'retired IT engineer' … -
    .... sorry, but I'm outa here.-

Maybe you are looking for

  • Always prompted to save JNLP file

    Hello! We have a simple servlet that basically just queries a few things off of the HttpServletRequest and spits back a dynamically generated JNLP file. For some reason, when we were running with Tomcat 4.0.6 this worked fine, but with the upgrade to

  • How can i close my screen and still have my computer running?

    Hi, I just got my HDMI adaptor, bluetooth KB and mighty mouse, and i want to have my lid shut and not have my computer go to sleep. I want to be able to use my TV/monitor and my KB and mouse without having my macbook open. How do i do that? Thanks

  • What's been the wait for in store reserves

    In particular the Southlake one. Thanks

  • Charm status mail notification creation

    Hi All, I configured Change request mang. in my solution manager server. now i want to create msg notification for all status changes in charm msg flow, like when change request approved by advisory board a automatic mail should generate for change m

  • Re: Web SDK Returning Images

    Hi Brendan, Regarding your question on returning images... At 09:18 AM 5/2/97 U, Brendan Duddridge wrote: Mail*Link® SMTP Web SDK Returning Images Hi, Why on earth does the Web SDK 1.1 allow you to return BinaryData objectsto the web page if there's