Loc: The Wizard's Balcony
Okay, here's the text from a post i made over at Apple:<br><br><blockquote><font size=1>In reply to:</font><hr><p>Okay, I know that this is a kind of stupid question, but is there a way to selectively empty the trash? I mean, can you just delete certain items that are in the trash?<br><br>I ask be cause a professor of mine is looking for a way to do this. He doesn't want to hear anything about putting stuff in the trash that he doesn't want to delete.<br><br>So, is there a way to delete only some of the items that are in the trash? I've tried just selecting files and hitting [delete], but that didn't work.<p><hr></blockquote><p>link<br><br>I'm posting here because someone suggested an AppleScript and I thought maybe someone here **cough,Nutty cough,cough** might be able to help out.<br><br>
That's probably a good idea. For those that don't know adding -i will ask if you are sure if you want to delete. You probably could write an AppleScript to do it too if he wants a drag and drop solution.<br><br>
the trash is a special folder. you cant just selectively delete stuff in there.<br><br>you could write a script to get the contents, present it as a pick from list dialog, select a file, move the file to the desktop then rm -r that file<br><br>
Xplain's use of MacNews, AppleCentral and AppleExpo are not affiliated with Apple, Inc. MacTech is a registered trademark of Xplain Corporation. AppleCentral, MacNews, Xplain, "The journal of Apple technology", Apple Expo, Explain It, MacDev, MacDev-1, THINK Reference, NetProfessional, MacTech Central, MacTech Domains, MacForge, and the MacTutorMan are trademarks or service marks of Xplain Corp. Sprocket is a registered trademark of eSprocket Corp. Other trademarks and copyrights appearing in this printing or software remain the property of their respective holders.
All contents are Copyright 1984-2010 by Xplain Corporation. All rights reserved. Theme designed by Icreon.