Set Archives to Automatically Delete After Expansion in Mac OS X

Apr 5, 2012 - 1 Comment

finder-icon Archives can be deleted automatically after expansion with the help of a hidden preference panel in Mac OS X. This little known ability is an option in Archive Utility, which is the engine and settings controls to the Mac decompression agent that launches anytime you open a zip, sit, tgz, or other archive file formats in OS X.

Here’s how to find Archive Utility, which is hidden by default, and use it to enable the automatic
delete after expansion setting:

  • From the OS X Finder, hit Command+Shift+G to bring up the Go To Folder window and type the following path:
  • /System/Library/CoreServices/

  • Locate and open “Archive Utility”*
  • Pull down the Archive Utility menu and choose “Preferences”
  • Look for “After Expanding” and choose “Delete Archive” from the pull down menu, then quit Archive Utility for changes to take effect

Delete Archive After Expanding

* If you want to use and access Archive Utility preference often, consider making an alias for it in your /Applications/ folder. This is optional, but makes it easier to access in the future if you decide you want to make any adjustments to how archives are handled, saved, or deleted again.

Newly extracted archives will now delete themselves, making this a perfect solution for those of us who don’t want a Downloads folder full of leftover .zip files.

If you’re not comfortable with the archives being automatically deleted, a happy medium is to choose “move archive to Trash” from the pulldown menu instead. This will place leftover zips, sits, bin, and other compressed files into the user Trash can, but not actually delete them without user input.

Enjoy this tip? Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox! Enter your email address below:

Related articles:

Posted by: Paul Horowitz in Mac OS X, Tips & Tricks

One Comment

» Comments RSS Feed

  1. BeckleMic says:

    This is a nice utility. I have always wondered how to do this. Great stuff. Thank you.

Leave a Reply

 

Shop for Apple & Mac Deals on Amazon.com

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates