10.6: Set time of deletion for files placed in the Trash

January 26th, 2010

To make it easier to retrieve accidentally-deleted items from the trash, you can use an Automator workflow and the third-party Automator action Touch Files to create a “date deleted” time stamp on files placed in the trash. Here’s how: Download the Automator action and unzip it. Open Automator and import this action (File


Originally posted on Mac OS X Hints

 
  Related Posts
Automate the download and installation of a hosts file
Automate the download and installation of a hosts file
I’ve written an Automator workflow that will download the MVPS HOSTS file and place it in the /private/etc folder. The workflow can be saved as an iCal plugin to run automatically, and does most of its work in the background — it does ask for a password when it replaces the old hosts file, though. After downloading the Automator workflow... 
Trash won’t empty? The ultimate guide to deleting stubborn files
Mac OS X occasionally gets hung up on stubborn files and refuses to easily delete them. If you can’t empty your Mac’s Trash, try some of these techniques to get rid of those nasty errors and clear out the junk. As a Mac user, you’ve probably found yourself in a situation where you needed to force empty the Trash. Perhaps a message... 
A small timesaving trick when emptying Mail’s Trash
A small timesaving trick when emptying Mail’s Trash
I have multiple mail accounts and folders set up in Mail, including the Junk folder. I found that after deleting mail from the Junk folder, and from multiple different accounts’ inboxes, that when I went to the Trash and selected all items and pressed the Delete key, only some of the items would be deleted — I would have to “select... 
10.6: Open generic files in a preferred app via Services
10.6: Open generic files in a preferred app via Services
Often I need to edit text files that don’t have any associated application. This usually occurs when I’m changing system configuration files. My original process was to Control-click on a file and then select Open with and then Other, and then search through the application folder for my text editor program. From another site, I learned... 
Use OS X’s trash in a Finder-like way from Terminal
Use OS X’s trash in a Finder-like way from Terminal
I’ve written a few bash functions to interact with the normal Mac OS X trash can. This is actually slightly more complicated that it sounds at first, since the trash can is not just a folder somewhere. Each volume has its own trash, and your home folder has a trash can. Finder uses your home trash for any files on the …  Read More →
10.6: Use a Service to toggle trash can off and on
10.6: Use a Service to toggle trash can off and on
This hint enables you to turn off (and back on) moving files to Trash when deleting files, thus deleting them immediately when the trash is off. This hint takes advantage of the fact that if the .Trashes folder in a user’s home folder is not accessible, Mac OS X ignores it and displays an immediate file deletion warning like the one seen... 
10.6: A Service to show/hide hidden files
10.6: A Service to show/hide hidden files
There are many ways to show and hide the various hidden files and folders in Mac OS X. This one is an update to an older Automator workflow method. The previous method was to create a plug-in in Automator; now a pair of Services are used, so this hint only applies to Snow Leopard. Refer to the previous hint for usage in either Leopard or Tiger.... 
10.6: Create a new Service to ‘tar’ directories or files
10.6: Create a new Service to ‘tar’ directories or files
When I need a container of files, or of a directory that is already compressed (i.e. jpg images), there is no need to ‘compress’ into a zip file, so the following OS X Service will replicate the Compress ‘right-click’ with tar : Open Automator and select Service from the main screen. Set the ‘Service Receives Selected’... 
Enable write flag on Drop Box files via Folder Actions
Enable write flag on Drop Box files via Folder Actions
Generally, when files are dropped in your ~/Public/Drop Box you can only read them. You have to save a copy if you edit it. I wanted a script that would enable writing and that moved them to your desktop. So I wrote a Folder Action that let me do both things. If I could not enable them because of limitations, I want a sudo (SuperUser Do) to be... 
Clean .DS_Store, .Trash, and ._resources files prior to copy
Clean .DS_Store, .Trash, and ._resources files prior to copy
Frequently we need to clean a directory before zipping it or copying it to an external USB drive to be used by Windows or Linux users. Apple Finder has the custom of populating directories with those unavoidable .DS_Store files, volumes with .Trashes , and some files (especially pictures) with ._resources . The following interactive script will... 
  Related Tweets from Twitter
macosxcom (Macosx.com)  : Mail.app 4.3 - Bug: Hi, My Mail 4.3 with Snowleopard 10.6.4 doesnt work fine If I open Mail, I receive my new email http://bit.ly/cby6xz..
Updated : 2010-09-03T20:16:07Z   |  Reply  |  View Tweet
DonRabideau (DonRabideau)  : well, I really like the UI tweaks in iTunes 10. hope to see them go system wide in 10.6..
Updated : 2010-09-03T19:21:25Z   |  Reply  |  View Tweet
luukz (luukz)  : became Apple Certified System Administrator (Mac OS X 10.6) and Apple Certified Specialist - Security and Mobility (Mac OS X 10.6)..
Updated : 2010-09-03T09:29:24Z   |  Reply  |  View Tweet
MarcLobb (Marcus Lobb)  : Mac computer system Snow Leopard and new Flash download - SMART ...: Mac snow leopard 10.6.4 users beware!!! Don't... http://bit.ly/ce3bvX..
Updated : 2010-09-02T15:15:54Z   |  Reply  |  View Tweet
steve_m (St. M.)  : Nach gut 1 Jahr 10.6 wurde immerhin schon mal das Sync-System von iTunes sowie Bonjour auf 64Bit umgestellt. Fehlt nur noch iTunes an sich...
Updated : 2010-09-02T10:01:55Z   |  Reply  |  View Tweet
  Related News from Digg

Spam Protection by WP-SpamFree

TOP