New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

Reckless Terminal Command


Post Reply New Thread Subscribe

 
Thread Tools
johnnymacuser

 
johnnymacuser's Avatar
 
Member Since: Oct 09, 2005
Location: London
Posts: 63
johnnymacuser is on a distinguished road
Mac Specs: Macbook Pro 13" 2.66 GHz 8 GB

johnnymacuser is offline
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?
QUOTE Thanks
XJ-linux

 
XJ-linux's Avatar
 
Member Since: Jul 02, 2007
Location: Going Galt...
Posts: 3,358
XJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond repute
Mac Specs: MacBookAir5,2:10.9.5-MacMini3,1:10.9.5-iPhone6,1:8.1

XJ-linux is offline
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.

"Those who don't understand Unix are condemned to reinvent it, poorly." Henry Spencer
QUOTE Thanks
johnnymacuser

 
johnnymacuser's Avatar
 
Member Since: Oct 09, 2005
Location: London
Posts: 63
johnnymacuser is on a distinguished road
Mac Specs: Macbook Pro 13" 2.66 GHz 8 GB

johnnymacuser is offline
Thank you that was considerably easier than I thought it would be.
QUOTE Thanks

Post Reply New Thread Subscribe


« my trash secure freezes | Can't click and drag, only a second or two »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Snow Leopard terminal command problem Whitewings OS X - Operating System 2 11-06-2009 04:14 PM
Use Applescript to run a terminal command Turk182 OS X - Development and Darwin 1 02-12-2009 01:08 PM
Terminal - Missing command prompt AR3Y35 OS X - Operating System 16 02-09-2009 08:59 AM
Terminal command question MACGIRL34 OS X - Operating System 1 12-12-2007 05:26 PM
looking for a terminal emulator and command shell in Mac OSX CandiMarie OS X - Operating System 9 03-05-2004 04:53 PM

All times are GMT -4. The time now is 11:07 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?