Thread: Reckless Terminal Command
10-31-2010, 04:18 PM #1Reckless Terminal Command
I was having trouble emptying the trash with a flash drive you know locked files and all that and after a quick internet search i found this piece of code
% cd /Volumes/USBMEM/
% rm -r .Trashes
% touch .Trashes
rather stupidly I just thought I would have a go at my first terminal command, and it worked brilliantly, oh no wait a minute, now everything just deletes immediately nothing in the trash and no going back after a hard days work, my question is what piece of code do I use to reverse it?
10-31-2010, 05:32 PM #2
- Member Since
- Jul 02, 2007
- Going Galt...
Try removing the new trash. Unplug the USB drive. Log off and then on. Plug the drive back in and test. Your profile should recreate it properly. If not, repeat, but log off and back on with the drive plugged in.Never judge a man, untill you have walked a mile in his shoes...
That way you'll be a mile away from him, and you'll have his shoes.
10-31-2010, 06:58 PM #3
Thank you that was considerably easier than I thought it would be.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By ladylisak in forum OS X - Operating SystemReplies: 2Last Post: 10-18-2013, 02:47 PM
By xxSwagPanda in forum OS X - Operating SystemReplies: 1Last Post: 03-27-2013, 12:18 AM
By nowakchr in forum OS X - Operating SystemReplies: 2Last Post: 12-12-2010, 11:39 AM
By ytbryan in forum OS X - Development and DarwinReplies: 2Last Post: 09-18-2009, 06:22 PM
By Mac_Daddy in forum OS X - Operating SystemReplies: 4Last Post: 11-19-2007, 10:18 PM