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
Switcher Hangout The place for switchers to discuss their new machines, and how to work with OS X. General support can be had here for newbie stuff, like "How do I restart my new iMac?" :)

My Desktop Was Deleted


Post Reply New Thread Subscribe

 
Thread Tools
Kurosake

 
Member Since: Feb 03, 2012
Posts: 3
Kurosake is on a distinguished road

Kurosake is offline
Hello, I normally don't mess with things I don't know how to use even though I'm pretty computer savvy. But I decided to try and mod my Minecraft game after telling myself I wouldn't do it.

Long story short I was putting a command in Terminal and it just deleted my entire desktop. My background is still there but all my folders and files on my desktop are gone. I've searched everywhere and couldn't find an answer to my questions which is this:

1. Is there any way of restoring my desktop?

2. Are the files permanently deleted?

3. Will the answer to those questions make me cry like a little child?

Any and all help will be greatly, greatly appreciated.
QUOTE Thanks
TattooedMac

 
TattooedMac's Avatar
 
Member Since: May 19, 2009
Location: Waiting for a mate . . .
Posts: 7,727
TattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant future
Mac Specs: 21" iMac 2.9Ghz 10.9.4 13"MBP 2.9Ghz i7 Yosemite 10.10 ~ iPhone5 iOS 8 ~ iPad Mini iOS 8 ~ ATV3 6.1

TattooedMac is online now
Quote:
Originally Posted by Kurosake View Post
3. Will the answer to those questions make me cry like a little child?
Yes

I won't be able to come up with a answer for you as i don't know the Terminal, but i will ask you to post exactly the command you put into to Terminal before the mishap.
Doing this now will save time for when one of our command line guru's come int and see the thread they have something to work with straight away.
Also post your Mac specs as well as what OS you are currently running.

Good luck.

Cheers

CogFrog Studio's ~ Photography, Apps and Web Development
Dont forget to use the Reputation System if someone has helped you out !!!
Arguing with a zealot is only slightly easier than tunneling through a mountain with your forehead!!!!!
QUOTE Thanks
Kurosake

 
Member Since: Feb 03, 2012
Posts: 3
Kurosake is on a distinguished road

Kurosake is offline
I'm running Mac OS X Version 10.6.8

As far as the command is concerned If memory serves me well I believe this was the command I entered.

rm META-INF/MOJANG_C.*
jar uf ~/Library/Application\ Support/minecraft/bin/minecraft.jar ./
cd ..
rm -rf mctmp
QUOTE Thanks
chas_m

 
chas_m's Avatar
 
Member Since: Jan 22, 2010
Location: Victoria, BC
Posts: 16,269
chas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond repute
Mac Specs: 2009 MBP, Black speakers, Black Benq second monitor, black(ish) iPhone 5s, Black 2012 iPad, etc.

chas_m is offline
If you had Time Machine running then of course you have nothing to worry about. Simply navigate back to before the incident occurred and "restore" the Users/Desktop folder. If you weren't using Time Machine I assume you had a backup of some other kind, the same advice applies.

I don't know UNIX well enough to say what happened with your command there but RM commands are always dangerous.
QUOTE Thanks
Kurosake

 
Member Since: Feb 03, 2012
Posts: 3
Kurosake is on a distinguished road

Kurosake is offline
Unfortunately, I did not have Time Machine running nor a back up. Or I would have done so.
QUOTE Thanks
Aqua

 
Aqua's Avatar
 
Member Since: Sep 05, 2007
Location: Canada
Posts: 452
Aqua has a spectacular aura about
Mac Specs: Macbook Pro, 2.4GHz Core2 Duo 10.6.8, MacMini

Aqua is offline
Hands over virtual tissue...

Sorry I don't know those commands..
I would suggest time machine or Carbon Copy Cloner or something before using terminal as (I think?) using terminal is more permanent then dragging to the trash..

Hopefully what was on your desktop were aliases rather than the originals so you can rebuild your desktop. I'm not sure but I think you can just remake the desktop folder or maybe using Disk Utility from your original CD?

Good Luck

invincible ignorance is an example of ignorance that can not be removed by any amount of evidence. It's now a widespread form of pollution. (Revised quote) An apple a day, keeps the psychiatrist away.. If you play a Windows install CD backwards it has satanic verses
QUOTE Thanks
chas_m

 
chas_m's Avatar
 
Member Since: Jan 22, 2010
Location: Victoria, BC
Posts: 16,269
chas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond repute
Mac Specs: 2009 MBP, Black speakers, Black Benq second monitor, black(ish) iPhone 5s, Black 2012 iPad, etc.

chas_m is offline
[insert obligatory lecture about keeping a lot of stuff on the desktop and the risk for accidentally throwing stuff away you didn't intend to here]
QUOTE Thanks
McYukon

 
McYukon's Avatar
 
Member Since: May 14, 2009
Location: Near Whitehorse, Yukon
Posts: 2,053
McYukon is a splendid one to beholdMcYukon is a splendid one to beholdMcYukon is a splendid one to beholdMcYukon is a splendid one to beholdMcYukon is a splendid one to beholdMcYukon is a splendid one to beholdMcYukon is a splendid one to beholdMcYukon is a splendid one to behold
Mac Specs: 2012 MBP i7 2.7 GHz 15" Matte - 16 GB RAM - 120 GB Intel SSD - 500 GB DataDoubler Mac OS 10.9

McYukon is offline
Can you open Terminal type in history and paste the last 15 lines or so here?

Use the reputation system if a post helps you!
Mac Forums IRC Channel - Help build it by hanging out with us
The next sentence is true. The previous sentence is false.
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,696
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
Quote:
Originally Posted by Kurosake View Post
rm META-INF/MOJANG_C.*
jar uf ~/Library/Application\ Support/minecraft/bin/minecraft.jar ./
cd ..
rm -rf mctmp
Nothing there would have deleted all of the files on your Desktop. Do as McYukon suggested and paste the output of the "history" command here.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Personal Twitter
QUOTE Thanks
pissedoffuser

 
Member Since: Apr 19, 2012
Posts: 1
pissedoffuser is on a distinguished road

pissedoffuser is offline
The exact same thing happened to me and it has also deleted other random files across my mac, is there anyway of restoration. apart from a back up
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,696
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
What commands did you execute? Did you execute exactly as was suggested by whatever guide you were reading (the smallest change can make the biggest difference)? Do as McYukon suggested above and post the last 10 or 15 lines of the output from "history."

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Personal Twitter
QUOTE Thanks
Stanley

 
Member Since: Aug 31, 2009
Posts: 299
Stanley will become famous soon enough

Stanley is offline
Restart finder? If you close it (normally you can't) then the icons on your desktop vanish too.
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,696
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
Finder should restart itself if it closes - there's no true way to kill the Finder process and "keep it dead" since it's integral to everyday operation. Thus, I doubt that this is the cause since, if Finder did die, it would have restarted, bringing back the icons with it.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Personal Twitter
QUOTE Thanks
Stanley

 
Member Since: Aug 31, 2009
Posts: 299
Stanley will become famous soon enough

Stanley is offline
Quote:
Originally Posted by vansmith View Post
Finder should restart itself if it closes - there's no true way to kill the Finder process and "keep it dead" since it's integral to everyday operation. Thus, I doubt that this is the cause since, if Finder did die, it would have restarted, bringing back the icons with it.
Oh, you can get Finder closed, via Terminal or Utilities. My Finder menu even has a "Close Finder" option now.

http://lifehacker.com/333819/add-qui...he-finder-menu
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,696
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
True but killing the process doesn't really end it permanently since, at some point, you'll have to interact with it in some fashion. As that article notes, simply trying to open a Finder window will relaunch it (as you'd expect). This is why (I expect) Apple makes it tricky (by hiding the plist key) to truly kill it.

So, technically, it did die but I doubt this was the case here - you'd know it if it was. Non-technical means of killing Finder (holding control and option while clicking the Finder icon and selecting the relaunch menu item) will restart it and are probably more likely in this case.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Personal Twitter
QUOTE Thanks

Post Reply New Thread Subscribe


« Reputable brand for RAM | iMac freezing »
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
Desktop image wont save - keeps changing back to defaul sroegner OS X - Operating System 2 05-15-2011 09:00 PM
i dont know what to do... dballer OS X - Operating System 5 04-25-2011 07:03 AM
Problem installing Apple Remote Desktop 3 markw10 OS X - Apps and Games 4 02-22-2009 09:12 PM
Remote Desktop Sharing on Panther. How? MoltenLava OS X - Operating System 6 01-29-2005 12:46 PM
Apple updates Remote Desktop schweb Apple Rumors and Reports 1 04-02-2003 10:38 AM

All times are GMT -4. The time now is 09:09 PM.

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?