Applications :: Using Archive Utility.app From Terminal
Mar 5, 2009
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.
I zipped up about 3 gigs into a 2.24 gig zip file. I did it with stuffit deluxe, and I had no problems opening it. Then, I sent the file over the network to my roomate and reformatted/reinstalled OS X Tiger, then d/l'd the file back from my roomate.
Now, it won't open! I'm just using the standard OS X BOM ArchiveHelper... it gets like 75% done and says:
Unable to unarchive "filename.zip" into "Desktop". (Error 1 - Operation not permitted.)
I recently generated an entire backup of my website for safety purposes. As usual I deleted something that I realized I need, so i am trying to open up this .tar.gz file that i downloaded from my webhost. However, the mac Archive Utility always says, "Unable to unarchive backup" I have tried to downloaded BetterZip for mac and do it that way and i still get the same error.
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.
Info: MacBook Pro with Retina display, OS X Mavericks (10.9.3)
One issue though is that occasionally, a terminal utility window will go to sleep (or become Zombified) and won't wake up again.
This happens when I am running a long numerical calculation from one of the tabs in the terminal window.
Normally, the numerical calculation does not print much, but will occasionally print out information about the progress of the program and sometimes error messages. In past MAC-OSX, I had just started the numerical calculation in one tab and went on working (vim editing e.g.) in another tab in the same window, occasionally going back to check for error messages and progress.
In Mavericks OSX though at some point, the long run-time of the numerical calculation causes the whole terminal window to sleep including the tab in which I am doing the editing.
It is an interesting sleep. The numeric calculation keeps running, so I just set the window aside to let the program finish.
Other terminal utility windows are fine but all tabs on the same window are in the sleep mode.
The sleeping windows can actually be updated to their most recent, directly visible content by hitting the yellow dot at the top left,
sending the window down to the Dock, and then reopening from the Dock.
Even after reopening the terminal window from dock, the whole window (every tab) remains asleep. Scrolling does not work, continued updating of the screen output by the numerical calculation does not work, but you can see the most recent content by using the Dock update trick.
I can work around this and change the numerical calculation to send the output and error messages to a file instead of the screen and then run the programs in background. (Don't know if background programs will still zombify the terminal window.)
Also, I can do the editing from a separate terminal window, but at first the unexpected irreversible sleep caught me off-guard.
I realise that such automatic sleeping might be part of the reason for the large increase in speed, which is actually more important to me than maintaining the viability of each terminal window.
I am wondering though if there is some way to reanimate the sleeping terminal windows to inspect error messages more easily (i.e. scroll up to old ones).
Anybody see this before? I opened up Terminal.app and the window is completely blank. There is nothing in it whatsoever. Looks as if bash never started. The title bar simply says "Terminal — login — 80x24". I can type whatever I want in the Terminal window like it's a text document and nothing happens. If I restart the computer, this seems to fix the problem, but it seems to only be a temporary fix as the issue happens again soon after.
I partitioned my disk using Terminal's diskutil. I decided i didnt need the partition anymore, so i deleted it (using Disk Utility.app) and added the free space to my mac partition. Basically, Finder and Terminal dont show the free space added back, and Disk Utility shows the space added back to the disk. I tried restarting, repairing disk (which coincidentally had an unrelated problem), repairing permissions, but the problem is still happening
the application "terminal" is not allowed "terminal is not on the approved list of applications. contact the person who set up you accout for more info
I use mail.app and all of my old and sent emails get placed into a folder that over the years has grown to 23gb. This is space that I could use. Is there a way to archive these old messages that I will most likely never use.
I am wanting to compress video, audio and software into archives so Which archive application has the highest amount of compression and is a good archive app overall?
I was wondering if you all know of any program, thats a password manager. Well basically I wish to have a database, in which I have my own archive and store passwords. But to enter my archive, I want to enter a password, then I can access the whole list of sites & passwords I've stored. Whats the best app. I was thinking of making my own small database like with Microsoft Access.
When I used a PC there was the WIN RAR program where you could see every file inside a RAR archive, and thus choose which files you wanted to extract. I have RAR Expander and can expand an entire directory just fine, but I would like a little control to be able to choose which files to extract. Is there anything that will let me do this on the Mac?
I've been wanting to create a digital archive of all my music. I want to accomplish two things 1. Put all my CDs in their original quality on my hard drive and regularly back it up. Hopefully, once this is done, I can discard all of my CDs or put them away in a hard to reach box, thereby reducing clutter. 2. Have all of my songs easily accessible via a iPod/iPhone/etc. I have only about 150 CDs. I'm a PC user, but am thinking about getting a Mac Book Pro. As of now, it looks like iTunes and Windows Media Player would let me accomplish #1, but since I want to get #2 as well, I've decided to use iTunes. But I have a ton of questions and am hoping to get get some answers. Right now, I just pop the CD into the drive, and get iTunes to Import the CD with the only changes to the default being that I ask it to import to WAV (which is not the default). However, I use the default WAV settings.
Am I doing the right thing with respect to importing for best quality? Why does iTunes offer additional configuration for importing to WAV files? There are settings for sampling rate and such, although I'm just using the defaults for those. Would there be any difference at all between a rip using Windows Media Player and a rip using iTunes? I have enabled error correction in the "import settings". Is there a way to tell if there were no errors, if an error was encountered and corrected, or if an uncorrectable error was encountered, while importing a CD? For many of the CDs that I've imported so far, Apple does not seem to have the artwork. Is there a recommended place to get artwork for iTunes and what would be the procedure for adding artwork? After I have imported a CD in WAV, how do I convert that to something smaller that I can then download to an iPod? Is it possible for iTunes to keep the song in multiple formats?
I'm trying to find a better archiving tool for sounds and music, particularly useful for sound designers. iTunes has many of the features I like because creates an easy-to-search library for music but I'd like to add other tags to the files and be able to categorize them more specifically by types of sounds/music. Plus, I don't want to add a whole sound library in the middle of my music collection for iTunes.
My current address book has roughly 300 contacts. I have an old archived address that has roughly 200 contacts, but some contacts have extra information (ie. bday, notes, etc) that my current address book does not contain.
I'm trying to do something in terminal, and it asks for my password. I press a letter on my keyboard, and nothing appears. I am in the right window and everything, terminal just doesn't react to my typing. However, when I click enter, it says 'Sorry,try again'. So it does react to the enter key.
I'm running Symantec Backup Agent on our mac osx server. I start the agent in the terminal (./agent.be). It returns a notification that it started the service, however, it doesn't return to the prompt. Closing the terminal gives a warning that the process will be closed if the terminal is closed. Closing it does kill the process. Ctrl+c to return to the prompt also kills the process. So it's as if once the process is started in the terminal, nothing can be altered.
I am not much of a mac guy so please forgive me if this is a stupid question.
Anyone have any advice on how to handle this so the process is ALWAYS running?
I'm on a standard user account and I would really like to install icalbuddy which is a terminal app. When I install apps normally I simply have to provide a admin name and pw, but this doesn't work when it is a terminal app because it requires that the 'su' command be run.
So I thought that I could run terminal as admin through 'su - admin' and then install. But of course the admin account doesn't have access to the user folder where the installer is located. I just can't win.
It was working fine until yesterday, and now when I open it, all I get is a blank screen, and it's stuck at "Login", and I can't use it. What happened, and how can I fix it?
I like using Putty for terminal emulation, which we use at work to connect to UNIX servers. At home on my Mac, when I use terminal, I don't like it compared to Putty.
For example, I like the copy (double click) and paste (right click) functionailty in Putty.
So, is there any terminal app out there similar to Putty?
Say I have downloaded and compiled pngcrush and want to make it so that I can access it from terminal simply by typing pngcrush bla bla bla instead of having to specify the path to it? Unlike say wget, I can't "sudo make install" pngcrush.
I am at a loss with Google. What I want to know is how do I open a webpage using Terminal? I am doing a lot with Terminal at the moment and was wondering if it is possible. A Ubuntu forums website listed the command as: Insert browser of choice here "URL". I have tried this and I simply get the message: bash: safari: command not found. Am I missing a command before the browser?