|
|
Yet another method of trashing undeletable files
Just to be clear about the unix command. This always works for me:
This code will, with administrator priviledges, nuke everything in your trash. So if you can't delete something from the trash another way, this will wipe it. The usual warnings apply. Sometimes a file can't be deleted because an application is currently using it (sometimes that application is part of OS X, and your computer will go wonky if the file goes away).
Yet another method of trashing undeletable files
sudo rm -rf ~/.Trash/*
Yet another method of trashing undeletable files
Secure Delete is simply an srm -rf ~/.Trash/* NSTask. I don't think it handles permissions differently than a regular Empty Trash or rm would do. from man srm:
srm removes each specified file by overwriting, renaming, and truncat- ing it before unlinking. This prevents other people from undeleting or recovering any information about the file from the command line. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|