Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'No trash spec.' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
No trash spec.
Authored by: GaelicWizard on Apr 24, '10 11:19:16AM

The spec on freedesktop is not a "this is how things work" spec, but a "this is how we want things to work" spec. That script you found may be the only script which uses the spec, or maybe KDE and GNOME use it too. Mac OS X's trash is an entirely different beast using the same user-level metaphor. Microsoft Windows' Recycle Bin is, likewise, an entirely different beast from either of these, again using the same user-level metaphor. That script will happily work just fine on Mac OS X, but it won't interact with Finder's trash unless you tell it to re-use the hidden folders which Finder uses, in which case it will likely only half-work. Likewise, Finder would likely empty's metadata along with the rest of the trash.

The Finder itself actually treats the trash differently depending on which version of Mac OS X is running. The primary difference is in the formatting of the date and/or sequence number for adding duplicate files to the trash.

Additionally, there is no metadata of any sort stored in the trash until 10.6, where only "original location" is stored. (I have no idea _where_ that's stored. Once I figure it out, I'll update this script on sourceforge (see hint for link).)

[ Reply to This | # ]