Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Taking out the Trash

Taking out the Trash
Thread Tools
DIPESH14
Junior Member
Join Date: Jun 2005
Status: Offline
Reply With Quote
Jun 21, 2005, 05:47 AM
 
Hi guys, ive got a little problem that I'm hoping you can help with. I have some files that I have in the trash but I cant delete them as they are all locked files. I know I can go into each folder and change the settings to unlock them but their are hundreds of little files in each folder. Is there a quicker way to change the setting of the folder to unlocked? Many thanks.
     
beno
Fresh-Faced Recruit
Join Date: Jul 2003
Location: Seattle, WA
Status: Offline
Reply With Quote
Jun 21, 2005, 05:53 AM
 
I'm not sure if this is a bug with 10.4.1, but whenever I have a locked file in the trash, if I use the finders Finder>Empty Trash... menu command, it gives me the warning you are seeing. But if I simply click and hold on the trash can in the dock, and choose empty trash from the pop-up menu, it happily deletes everything, locked file and all. I just tested it with a locked folder and this worked as described.
Ben
     
DIPESH14  (op)
Junior Member
Join Date: Jun 2005
Status: Offline
Reply With Quote
Jun 21, 2005, 06:05 AM
 
Nice little find beno. that worked. That was easier then I thought, cheers!
     
d.fine
Mac Elite
Join Date: May 2004
Location: on 650 cc's
Status: Offline
Reply With Quote
Jun 21, 2005, 06:35 AM
 
Sounds like a bug... Someone report it to Apple ? Maybe for 10.4.2

stuffing feathers up your b*tt doesn't make you a chicken.
     
beno
Fresh-Faced Recruit
Join Date: Jul 2003
Location: Seattle, WA
Status: Offline
Reply With Quote
Jun 21, 2005, 06:47 AM
 
But it's a really handy bug.
Ben
     
Anubis IV
Dedicated MacNNer
Join Date: Nov 2003
Location: Huh?
Status: Offline
Reply With Quote
Jun 21, 2005, 01:30 PM
 
There used to be a way to Force Empty the trash. Is there still a way to do that? Holding down Option or something I think...
"The captured hunter hunts your mind."
Profanity is the tool of the illiterate.
     
turtle777
Clinically Insane
Join Date: Jun 2001
Location: planning a comeback !
Status: Offline
Reply With Quote
Jun 21, 2005, 05:03 PM
 
If everything fails, use Cocktail to force delete the trash.

Or, if you know what you are doing, use the terminal to delete the locked files and folders.
DON'T USE THIS IF YOU AARE NOT 100% SURE ABOUT WHAT YOU ARE DOING.

"sudo rm -Rf /folder" or
"sudo rm -f file"

-t
     
GSixZero
Mac Elite
Join Date: Aug 2004
Location: Seattle, WA
Status: Offline
Reply With Quote
Jun 21, 2005, 06:10 PM
 
Yeah. Open a the trash and a terminal window.

Type 'sudo rm -Rf' (no quotes) in the terminal window. Then drag all the icons from the trash into the terminal window, and hit return.

Don't blame me if this breaks your computer.

ImpulseResponse
     
sspire
Fresh-Faced Recruit
Join Date: Jun 2005
Status: Offline
Reply With Quote
Jun 21, 2005, 06:55 PM
 
Be cautious with Coctail. Many users report worse problems after using it.

Try this:
Compost 1.6.5
http://www.mac-compost.com
Compost is OS X 10.4 “Tiger” Ready

4.9 out of 5.0 star rating at versiontracker.com

"Useful trash, part 2" (Good Article//Review Below)

Provide Feeback Here:
http://www.versiontracker.com/dyn/mo...&mode=feedback

Whether you’re an individual Mac user, or a network administrator looking to help your users better manage their free space, Compost can help you.

• Trash Expiry Date: Delete files that have been in the trash beyond a certain time
• Maximum Size: Cap the trash at a certain size
• Free Space Monitor: Specify a minimum free space threshold

Have you ever wondered where all your free space went? Have you ever noticed that you’ve got 3 GB of files in your trash can? Or maybe you’ve regretted losing an important file because you’re in the habit of emptying your trash immediately so as not to accumulate 3 GB of files in your trash can because you hate to run out of free space. Hmm... something isn’t quite right.

End the trash can tyranny
Compost solves these problems by letting you set a time limit on your trash, cap its size, and maintain a minimum amount of space. In addition, it features:

Secure Deletion: Security for your sensitive files
Flexibility: Change settings both globally and for each disk
Empty Individual Cans: A contextual menu item to empty the trash on a single disk (and optionally unmount it)
Shredding: A contextual menu item to immediately erase files, bypassing the trash
Detailed Information: A replacement Get Info window for the trash can that tells you how much space is taken up overall and on each disk

Whether you’re an individual Mac user, or a network administrator looking to help your users better manage their free space, Compost can help you.

System Requirements:
Compost requires Mac OS X 10.2 or higher. That’s it.
(Compost is OS X 10.4 “Tiger” Ready Now)

The Background
The Trash was a brilliant innovation when it appeared on Mac users’ desktops in 1984. Like a safe holding area, it lets you have second thoughts about files you want to delete. As hard disks have grown though, so have people’s trash cans, and it’s now easy to eat up your entire disk with stuff that, in most cases, you don’t want.

Some people, especially new Mac users, have no idea how much is in their trash. Others are all too aware, and so they keep it clean and shining empty, eliminating any possibile benefit of “oops” recovery. Either way, the Trash is an all-or-nothing affair, and neither way is particularly convenient for today’s demanding users.

Compost solves all these problems and more.

From the Creator:
I’ve written software for over a dozen platforms from NCR mainframes down to Palm OS handhelds, and I've been a Mac programmer since 1988. I wrote Compost for a few reasons, the foremost of which is that I wanted it. There were similar programs for older versions of Mac OS, but nothing supported or was even supportable under OS X. Compost fills that gap.

Article/Review: Useful trash, part 2
By Dan Frakes

On Monday, I covered SideTrash, a neat (and free) utility that lets you put your Trash icon on the Desktop or in Finder window sidebars—a simple feature, but one that’s been requested by some users of Mac OS X for years. I also noted that come today, I’d show you a utility that offers significantly more functionality for just a slightly higher price. So, without further ado...

Mac OS X’s Trash has two significant limitations: You have to remember to empty it (files aren’t actually deleted until you do), and when do you empty it, you have to empty it completely—like a going-out-of-business sale, everything must go! The first limitation is an issue for everyone, but I find that it disproportionately affects beginning users: I’ve seen Macs with gigabytes of information sitting in their Trash, simply because their owners forget to empty. The second limitation is more of a concern to power users and those who like to have a bit more control over their files and volumes. These people would like to be able to rid the Trash of just those files deleted from a particular volume, or just those that have been in the Trash for a while. (It’s not uncommon for people to use the Trash as a sort of “holding area” for files they’re pretty sure they don’t want, but want to keep around for a week or two just in case— in fact, most email clients have a similar setting for “deleted” mail.)

Sound familiar? If so, you need to check out Greg Weston’s $9 Compost 1.6.1 (). I actually wrote about an older version of Compost in our November 2004 “Software Bargains” feature; but that was just a short blurb—Compost deserves a more thorough discussion.

Compost, which operates as a Mac OS X System Preferences pane, fixes both of the above limitations of the Mac OS X Trash, and adds a few other nifty features, as well. Its most obvious benefits are its automatic deletion features. Compost can automatically delete files that have been in the Trash longer than a user-defined number of minutes, hours, or days. It can also limit the Trash to a certain size—for example, if you limit the Trash to 512MB, and later place an item in the Trash that pushes the size of the Trash over that limit, Compost will delete the oldest items until the Trash size is below your limit. (Another way to describe this feature is to say that Compost will keep only the newest “X” amount of Trash, where you decide how much “X” is.) Alternatively (or additionally), you can tell Compost to make sure your boot volume always has at least a certain amount of free space, by size or percentage. If you’re running low on disk space—not a good thing in Mac OS X, which uses the hard drive for memory management—this is a handy option, as it will automatically delete items from your Trash to keep free space above your limit.

If you’ve got multiple hard drives or volumes connected to your Mac, Compost will also let you choose different settings—age limits, size limits, and free space limits—for each volume. For example, if you’ve got a FireWire drive that you use as a scratch disk for Photoshop, you want as much free space as possible on that drive; you can tell Compost to keep that drive’s Trash empty.

Compost also provides a few options for the actual deletion process. The “Delete locked items” option automatically deletes locked items without requiring that you unlock them first. The “Delete empty folders immediately” setting deletes empty folders immediately, no matter what your other settings are—the idea here being that since there’s nothing in them, why clutter your Trash with them? Finally, you can also have Compost delete items from the Trash securely, which uses the same secure deletion routine as the Finder’s Secure Empty Trash command—this kind of deletion takes longer, since files are overwritten multiple times as they’re deleted, but it makes it much less likely that someone would ever be able to recover those files, even with special data recovery tools.

What if you don’t really mind having to remember to empty the Trash? Compost still has a few other tricks up its sleeve that you’ll appreciate. The most useful is its ability to empty the Trash for just a particular volume. By bringing up Compost’s Trash Info window—accessible via a user-defined keyboard shortcut—you see a list of all mounted volumes, along with each volume’s free space and the number and size of files in that volume’s Trash. By clicking the “recycle” button for a volume, just that volume’s Trash is emptied, leaving Trash contents from other volumes untouched.

Alternatively, if you choose to install Compost’s contextual menu, you can empty a volume’s individual Trash by control/right-clicking on that volume’s icon in the Finder; one of the menu items will be “Empty Trash on volumename."

This contextual menu also lets you delete files in the Finder immediately (without the need to first move files to the Trash); you simply control/right-click on a file or folder and choose Delete Immediately from the contextual menu.

Finally, Compost also includes an optional menu bar menu that provides quick access to a number of its features: viewing the Trash Info window, emptying specific volume Trashes, opening the standard Trash window, and opening the Trash window for a specific volume. You can even empty the Trash on a removable volume and then eject it—a common sequence of tasks, in my experience—with a single command.

I wish Compost’s contextual menu—or, even better, its menu bar menu—was accessible from the actual Trash icon in the Dock. I also wish that, like SideTrash, it offered the option to place the Trash on the Desktop or in Finder window sidebars. But even without these features, Compost is what Mac OS X’s Trash should be.

http://www.macworld.com/weblogs/macg...post/index.php
     
   
Thread Tools
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 05:29 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,