Trashing (From) the Command Line

New command-line tool from Dave Dribin:

osx-trash manipulates the Mac OS X trash from the command line, just like the Finder does. It uses AppleScript via Scripting Bridge on top of RubyCocoa to communicate with the Finder. You can move files to the trash, empty the trash, and list items currently in the trash.

Saturday, 24 May 2008