Results 1 to 15 of 15
  1. #1


    Member Since
    Feb 03, 2012
    Posts
    3
    My Desktop Was Deleted
    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.

  2. #2

    TattooedMac's Avatar
    Member Since
    May 19, 2009
    Location
    Waiting for a mate . . .
    Posts
    8,431
    Specs:
    21" iMac 2.9Ghz 16GB RAM - 10.11.3, iPhone6s & iPad Air 2 - iOS 9.2.1, ATV 4Th Gen tvOS, ATV3
    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
    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!!!!!
    MoTM ☆☆☆

  3. #3


    Member Since
    Feb 03, 2012
    Posts
    3
    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

  4. #4


    Member Since
    Jan 22, 2010
    Location
    Victoria, BC
    Posts
    20,911
    Specs:
    Mid-2012 MBP (16GB, 1TB HD), Monoprice 24-inch second monitor, iPhone 5s 32GB, iPad Air 2 64GB
    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.

  5. #5


    Member Since
    Feb 03, 2012
    Posts
    3
    Unfortunately, I did not have Time Machine running nor a back up. Or I would have done so.

  6. #6

    Aqua's Avatar
    Member Since
    Sep 05, 2007
    Location
    Canada
    Posts
    452
    Specs:
    Macbook Pro, 2.4GHz Core2 Duo 10.6.8, MacMini
    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

  7. #7


    Member Since
    Jan 22, 2010
    Location
    Victoria, BC
    Posts
    20,911
    Specs:
    Mid-2012 MBP (16GB, 1TB HD), Monoprice 24-inch second monitor, iPhone 5s 32GB, iPad Air 2 64GB
    [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]

  8. #8

    McYukon's Avatar
    Member Since
    May 14, 2009
    Location
    Near Whitehorse, Yukon
    Posts
    2,052
    Specs:
    2012 MBP i7 2.7 GHz 15" Matte - 16 GB RAM - 120 GB Intel SSD - 500 GB DataDoubler Mac OS 10.9
    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.

  9. #9

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    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
    Writing a Quality Post

  10. #10


    Member Since
    Apr 19, 2012
    Posts
    1
    same problem
    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

  11. #11

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    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
    Writing a Quality Post

  12. #12


    Member Since
    Aug 31, 2009
    Posts
    304
    Restart finder? If you close it (normally you can't) then the icons on your desktop vanish too.

  13. #13

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    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
    Writing a Quality Post

  14. #14


    Member Since
    Aug 31, 2009
    Posts
    304
    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

  15. #15

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    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
    Writing a Quality Post

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 17
    Last Post: 11-28-2014, 08:01 AM
  2. Desktop DELETED!!!, Desktop DELETED!!!
    By jazzhill in forum OS X - Operating System
    Replies: 6
    Last Post: 05-10-2011, 01:48 PM
  3. I may have deleted my desktop?
    By isaachayes in forum OS X - Operating System
    Replies: 4
    Last Post: 09-28-2008, 10:01 PM
  4. Yogi deleted his Desktop
    By yogi in forum OS X - Operating System
    Replies: 9
    Last Post: 04-20-2007, 03:01 PM
  5. Can't Deleted Files On My Desktop!
    By bellastrada in forum OS X - Operating System
    Replies: 8
    Last Post: 10-06-2004, 04:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •