The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   Tweaking OS X / Wish List (http://hintsforums.macworld.com/forumdisplay.php?f=25)
-   -   Trash Utility (http://hintsforums.macworld.com/showthread.php?t=31542)

schneb 12-22-2004 03:11 PM

Well, I actually WAS able to get my hands around Lingo. My next goal is intermediate ActionScript. Thanks for the book lead. Perhaps 2005 will see Schneb as a moderate coder.

Craig R. Arko 12-23-2004 02:15 PM

This Hint will get you started.

From there you can start to add bells and whistles to taste, until you have a completely custom waste-management system. And a pretty fair knowledge of Finder scripting to boot. :cool:

bjs@umn.edu 01-09-2005 09:53 AM

Need to restore to original location from trash (NOT YET EMPTIED)
 
I think I have a relatively easy question. I meant to go through and trash a bunch of cache files from my Library, but accidentally went up a level and trashed much needed files from my Library. I haven't emptied the trash yet but am wondering if there is an easy way to restore these files back to their original locations without having to guess at where I trashed them from. Any advice is greatly appreciated.

schneb 01-10-2005 12:56 PM

Quote:

Originally Posted by bjs@umn.edu
...if there is an easy way to restore these files back to their original locations without having to guess at where I trashed them from. Any advice is greatly appreciated.

It might be too late, but this would be a good time to use "Undo".
If this is no longer an option, the first thing you need to do is take the folder/folders out of the trash and onto the desktop. Logout then login and start Safari. Close Safari and do a search in your library folder for those folders or files that match what is on your desktop. This will show you the location. Replace these folder or files with what is on your desktop.

Any one know an easier way?

Next time you want to trash cache files, it would be best to use the menu item "Safari > Empty Cache..." If you wish to trash the icon cache, use Safari Enhancer.

mrchaotica 01-21-2005 10:43 PM

Freedesktop.org Trash Spec!
 
You know what I'd like to see Apple do? Implement this! Not only would it give the extra functionality most of us seem to want ("restore to original location," for example), it would also make OS X more compatible with Linux, which IMHO is a Very Good Thing.

It would involve only a few minor changes:
  • Add the metadata files (which means that emptying the trash no longer deletes _everything_ in the directory).
  • Add the menu items, etc. to facilitate "restore item."
    and if they wanted to be really nice,
  • Write a command-line "trash" utility similar to rm.
I've actually started working on implementing such a feature, but the only problem is that I'm going to have to hack my way around the current functionality (emptying the trash normally will kill all the metadata :( ). I'd much rather it be an official thing, rather than just my 3rd-party hack.


All times are GMT -5. The time now is 04:34 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.