Using Archive Utility.app from Terminal

Hi there!
Does anybody know if it is possible to send commands or options to Archive Utility.app via Terminal?
It is possible to invoke Archive Utility.app and pass it the path to a zip file, and it will uncompress it. However, I would like to also pass it a destination path, and see what other options it may have.
Thanks in advance!
davewg

It's because this will be done via a script and I want to show a progress bar to the users, then they can see something is happening - Archive Utility.app has a very nice little progress bar! :o)

Similar Messages

  • Archive Utility.app "Error identifying a writable temporary folder"

    I had to restore my Mac today from a Time Machine backup. Everything went swimmingly, except for now I can't seem to unzip files using Archive Utility.app. In any folder under the root path / on Macintosh HD I get following error:
    Error identifying a writable temporary folder. Try moving the archive to another volume.
    However, if I move the archive to one of my Firewire external drives and unzip it from there, it works.
    I've tried the standard Repair Disk Permissions from Disk Utility, using the diskutil repairpermissions / command and booting into my install disk and trying both of the previous from there. Unfortunatly it didn't solved the problem.
    I noticed that when Time Machine restored my Mac the /private folder became visible, so I used Terminal and set it back to hidden. Could there be a problem with the permissions of my /private folder that Repair Disk Permissions hasn't fixed?
    Any more suggestions would be ace as I can't seem to find anybody with the same issue via Google. Thanks in advance!

    A better and safer syntax is the single command:  sudo rm -rf /var/folders/*  since if  the first line above does not succeed, or is entered in a separate terminal session, the second command will remain pointed at the top level of your home folder by default, effectively telling the computer to ERASE ALL CONTENTS of "~/"  your account's home folder.  In that event, all personal content - desktop files, downloads, documents, local email storage, music, movies, favorite bookmarks, and so on - will be immediately deleted!
    Caution is also recommended, since /var/folders  is temporary storage for a lot of applications.  At minimum quit any other open applications and be prepared to restart. 
    Naturally any command involking "sudo" will only run within an administrative account.  If you don't have an admin account, if the computer is not your personal property, if the computer returns an error when invoking "sudo" or if you simply have doubts or questions about what each element of these commands does,  well that's simply nature's way of saying "call IT." 

  • Command to quit an app from Terminal

    When I force quit Final Cut Pro HD, the app still has a black triangle next to it in the dock.
    When I bring up force quit again, the app is still listed.
    What's the command to quit an app from Terminal?

    You can use the killall command to quit a process by name. If this doesn't work, you can also save any open documents and then force quit the loginwindow process from the Activity Monitor.
    (19696)

  • Archive Utility app in Mavericks is gone

    After my last update my abiity to unzip files quit working. I can still zip files.
    I looked for the Archive Utility app in System › Library › CoreServices. It is definitely not there. My CoreServices folder list goes from Applications (folder) to Automator Launcher.
    How do I get the Archive Utility app back?

    dsharpe,
    I had a look in my /System/Library/CoreServices folder, and between Applications and Automator Launcher.app I have Archive Utility.app and AuthBrokerAgent (which seems to be part of  CoreFoundation networking).
    You could boot into Recovery mode and select Reïnstall Mac OS X from the Mac OS X Utilities menu — that should restore Archive Utility and whatever else might be missing from your Mavericks installation.

  • Guys i have a problem, I used to download apps from one of my friends apple id, now i created my new account, but when i was about to update my apps its asks for my friends id and password. now how could i update my old apps from my new apple id?

    Guys i have a problem, I used to download apps from one of my friends apple id, now i created my new account, but when i was about to update my apps its asks for my friends id and password. now how could i update my old apps from my new apple id?

    The_Tonmoy wrote:
    I have no communication with my that friend :/ So it means i need to delete those apps? There's no other solution to update those apps?
    No.  purchases are forever tied to the apple ID used to buy them.  Delete them and buy your own copies.

  • Missing the Archive Utility.app

    Hello all,
    It has taken me a while to discover this, but I am completely missing the Archive Utility that comes with the OS from the Core Services folder in the library. I cannot find the app anywhere on my computer and I think my kids have somehow deleted it. I cannot find a way to re-install that program from my system install disks, and I cannot find the program at Apple.com for download. Any suggestions? It is a pain not to have it in my system!

    Thanks for giving the directory path - I have wanted to do something about this app for some time and could find almost no information on it.
    My system (OS 10.4.11) launches BOMArchivehelper.app as the default for various compressed files (.zip, .rar, etc.), and for this purpose it seems nearly, if not completely, useless. Instead I launch Stuffit (or right-click, "open with") and either open compressed files or drag and drop. Once in a while I forget and double click a file's Finder icon, and almost always regret it. Did this about two hours ago for a ~ 75 MB zip file and the little sourcer's apprentice is still grinding away with the progress bar moving about about 1 mm every 20 minutes. There is no program icon in the dock and if I call up the Force Quit Applications panel, the utility is no where to be seen.* I'm torn between ignoring the useless little troll of a program and shutting everything down, so I can reboot and get it out of my sight.
    I finally reset the default for zip files to Stuffit, so it shouldn't happen again, but I'd like to know if there ius a real use for BOM, or is it just there because Apple felt obligated to include thi type of app in the operating system?

  • Running a C++/OpenCV app from terminal (which was first created in Xcode)

    Hi there,
    First of all, I'm pretty newbie to Xcode, since I've always coded in Textmate. But now I have to use XCode for using OpenCV, because I created a opencv framework. If I build&run the code in XCode, it works great, but now I have to run it from Terminal and it gives me an error (i do "./" to the release build):
    *dyld: Library not loaded: @executable_path/../Frameworks/OpenCV.framework/Versions/A/OpenCV*
    *Referenced from: /Users/Victor/Documents/PFC/src/opencv/blob/build/Release/./test3*
    *Reason: image not found*
    *Trace/BPT trap*
    If I try to compile the .cpp myself from Terminal, it says it doesn't find the opencv libraries.
    So, how do I run this? I thought that XCode would provide me a build for running it anytime without XCode.

    Ok, false alarm. As I said, I'm pretty newbie: i was building on Debug mode so the Release build didn't wrk because of that. Now it works great

  • Using external util JAR from Session EJB

    I have a Stateless Session EJB that uses some classes packaged in a utility jar. How do I package the EJB jar with this util jar, and get the app server to recognize this utility jar? including a /lib dir with the utils jar in it, like you would with a WAR, doesn't work.
    I've temporarily got this to work by modifying the startup scripts for my app server to ensure my jar is included in the -classpath arg, but this cannot be the intended way. (cannot find details on this in the tutorial).
    Thanks in advance!

    Well, the answer depends a lot on which appserver you're using, because it obviously depends on how the vendor implemented the containers' ClassLoaders. What usually works is dependent upon a portion of the JVM spec regarding the MANIFEST.MF file. If you package your ejb.jar and library.jar in an .ear file, you can put the following in the ejb.jar MANIFEST.MF:
    ClassPath: library.jarNote that there must be at least one blank line at the end of the MANIFEST.MF file.
    This works on WebLogic, but, as an example, JBoss uses a single ClassLoader, so I'm not entirely sure how you'd go about the same thing there.
    And you're quite right - putting it in the JVM ClassPath is not a good idea...

  • How do you update Server.app from Terminal?

    The "softwareupdate" terminal command does not seem to include Server.app updates.  Is there another way to install Server.app updates through the terminal so that running update can be done over SSH?

    Good question.  But alas, no.  Remember Apple is a consumer company.  App Store is consumer friendly, enterprise averse.
    Depending on your licensing model, the best way to handle this is to have a master machine that has access to all your enterprise purchased app store apps.  When there is an update, use this master machine to get the updates.  Once you have them, use ARD, JAMF, or other tools to push these new Apps out to the fleet. 
    This method works well for simple bundle based apps with no additional payload.  If you are supporting developers and need to push Xcode, recall that there are first run scripts and additional updates such as device simulation and command line tools that must be run post. 
    Hope this helps.  Good luck.

  • Disk Permissions will not run using Disk Utility app

    I just recently (yesterday) ran disk utility to repair permissions and this is the message I received "First Aid Failed - Disk Utility stopped repairing permissions on “Macintosh HD” because the following error was encountered:
    No valid packages" I ran it multiple times, restarted 3x and still the same message.
    What in the heck in this? Never got this error message before.
    Mike

    Open the /Library/Receipts/ folder and look at the items inside; there should be roughly 62 items inside, which may significantly vary depending on your configuration. Some of these receipts are necessary for Repair Permissions to operate; if you've deleted these, you can copy them from another system. If you cannot get these back, you need to create another Mac OS X installation or reinstall Mac OS X on your existing system to get new ones.
    (16726)

  • Does using the skype app (from my iphone to a computer)over 3G cost me money, or is it free like Wifi?

    I was at a family dinner last night and included my college daughter at the table via Skype on my iphone. She was on her laptop. After about 30 minutes, I remembered that my mother-in-law does not do technology, and has no internet, so I was on 3G, and not Wifi. I have AT&T. Does anyone know offhand what fees (if any) are involved? I don't have unlimited data, although I never come near the alloted amount of data usage I am allowed per month. Skype has always been free when I've used it over Wifi. Am I just paying for data usage, or am I going to get charged for making some kind of call? Any info would be appreciated. Thanks.

    If you don't have unlimited data, then you could incur overage charges for Data use. How much will depend on what data plan you have. Check your AT&T account at att.com for details or contact customer service.

  • Parameters used by Archive Utility to compress files

    Many of you will be aware that built into OS X is the Archive Utility which can create and de-compress compressed archives of files. The utility works well. It uses the 'ZipInfo' standard for archives although, it can create archives in other formats. Apple also provides equivalent commands for use in the Terminal (e.g. Zip, UnZip and Ditto).
    I have been trying to find out what Zip parameters are used when using Archive Utility in the Finder. The Zip standard has, for example, a range between fast but large archives to slow but small archives. Does anyone know what parameters are used by Archive Utility ? Even better, is there a way to change those parameters ?
    Many thanks.
    Garry B

    There really isn't a way to change the specifics of what the Finder does unless it allows you to do so (via preferences or plist file). The Finder uses something like ditto -c -k --sequesterRsrc --keepParent src_directory archive.zip
    There are many parameters for ditto and zip to allow for customization as needed.

  • Archive utility will not unzip .jars anymore?

    Is anyone else having the problem of not being able to open .jars with archive utility anymore?
    It certainly used to work, I'm quite sure of it, because I've always used Archive utility to open .jars and get access to the .classes. Any ideas on how to fix this? is this a bug or was a feature dropped without warning or am I just missing something?
    I'm not a heavy user of java, but it is kind of irritating to find that something that my computer used to do in a simple intuitive way is no longer available, or if it is it's certainly not simple or intuitive! I've checked archive utility preferences and can't find anything there. I'm really not sure how to deal with this! I've tried dealing with it through terminal, but for some reason it's not quite working and I can't crack open the .jar to find out why haha!

    Thanks! that app works great I just wish I knew what happened to Archive Utility. The thing I like best about OSX is that it comes with a great set of tools. I don't like having to go and get apps to do specific new jobs y'know?

  • Archive Utility Quit Unexpectedly

    Every time I try to unzip a file using Archive Utility, it says "Archive Utility Quit Unexpectedly". No, relaunching it does not do anything. I have restarted my computer to no prevail and several things I've tried on the internet do not work. Currently using a Macbook Pro, with OSX 10.9.3.

    You need to update your OS X to v10.9.4
    Click the Apple  top left in your screen.
    From the drop down menu click Software Update.
    Restart your Mac.
    Now, control click the folder you want to compress then click:  "Compress (folder name"
    To decompress, double click the folder.
    OS X Mountain Lion: Compress and uncompress files and folders  >    Instructions work for v10.9 Mavericks as well.

  • Unable to open zip files with Archive Utility or StuffIt

    Hello,
    I am running Mac OS X 10.7.3.  I have been attempting to download and install the Eclipse Java IDE from both www.eclipse.org and from a Stanford course website.  In the first case the file is offered as a tar.gz and in the second case it is a .zip.  When I attempt to open either file using Archive Utility or StuffIt Expander I get a never ending pinwheel.  I am forced to restart to get Finder working porperly again and quiet the fan down.  My wife's computer, also running Mac OS X 10.7.3, can extract the files without a problem.

    Jsanders is basiclly a BlackBerry Superhero, stick around for awhile, Don't be a stranger AntMcl, you can learn a lot around here I promise.
    If someone helped you give them kudos. Research all info!

Maybe you are looking for

  • Need converter - analog to digital via firewire

    I'm looking to buy a converter to convert analog (VHS home movies) directly into iMovie via firewire. What are you using and have you had any problems? Thank you for your suggestions.

  • Handling two blocks in a canvas

    I have two block namely "emp" and "dept" and I want to execute query in each block on a single button click. when the cursor is in "emp" table then the "emp" data should be display and vice versa.

  • I CANNOT REGISTER ADOBE ALBUM STARTER EDITION 3.0

    Every time I try to enter my unlock code, I get this message: "Your unlock code was not activated. Administrator privileges are needed to activate the unlock code on this computer. please log in with a privileged account and try again." I am running

  • My account is 99% full and won't let me delete pictures/emails to make room.

    When trying to delete, a box pops up and says we have exceeded our quota. I am trying to delete pictures/emails to make room, but it won't let me. If I am over quota shouldn't it be happy I want to delete things and let me?

  • Problem while customizing Portal  MastHead.

    Hi, I am unable to customize my portal masthead. I can't download the par file  like "System Administration -> Support -> Portal Runtime -> Browse Deployment -> WEB-INF  -> deployment  -> temp (or) pcd -> com.sap.portal.navigation.masthead.par.bak ".