This morning I followed installing instructions for the game Minecraft, I wanted to install some modifications. There was no written warning about the implications of using these commands in Terminal.
Here is the thread, it's in the first post: http://www.minecraftforum.net/topic/75440-v173-risugamis-mods-recipe-book-updated/
I'll copy paste it here for convenience sake:
Macintosh:
1) Go to Applications>Utilities and open terminal.
2) Type in the following, line by line:
cd ~
mkdir mctmp
cd mctmp
jar xf ~/Library/Application\ Support/minecraft/bin/minecraft.jar
3) Outside of terminal, copy all the files and folders into the mctmp directory.
4) Back inside terminal, type in the following:
rm META-INF/MOJANG_C.*
jar uf ~/Library/Application\ Support/minecraft/bin/minecraft.jar ./
cd ..
rm -rf mctmp
5) Run Minecraft, enjoy!
I used the command, installed a mod, and then I remembered I wanted to install another mod. So I used the terminal commands again! Apparantly that was a big mistake. All the files from my desktop were gone, and the files from my download folder, and my documents folder.
On top of that, each time I want to move a file to the trash in the finder with the apple-backspace combination, I get a pop-up window asking if I'm sure I want to permanently delete the file. Instead of moving it to the trash, it immediatly deletes the file.
Also, the last command is suppsed to hide the "mctmp" folder, but even after using the last command, the folder is still there.
I'm afraid I might have screwed up my computer. I knew the risk of using Terminal, but I wasn't aware it could be this bad.
I hope any of you here can help me out, I really don't want to reinstall my whole OS because of some messed-up hotkey.
EDIT: I also found out that even when I drag a folder to the trashcan, it deletes the file right away, without having the use the empty trash command.
Here is the thread, it's in the first post: http://www.minecraftforum.net/topic/75440-v173-risugamis-mods-recipe-book-updated/
I'll copy paste it here for convenience sake:
Macintosh:
1) Go to Applications>Utilities and open terminal.
2) Type in the following, line by line:
cd ~
mkdir mctmp
cd mctmp
jar xf ~/Library/Application\ Support/minecraft/bin/minecraft.jar
3) Outside of terminal, copy all the files and folders into the mctmp directory.
4) Back inside terminal, type in the following:
rm META-INF/MOJANG_C.*
jar uf ~/Library/Application\ Support/minecraft/bin/minecraft.jar ./
cd ..
rm -rf mctmp
5) Run Minecraft, enjoy!
I used the command, installed a mod, and then I remembered I wanted to install another mod. So I used the terminal commands again! Apparantly that was a big mistake. All the files from my desktop were gone, and the files from my download folder, and my documents folder.
On top of that, each time I want to move a file to the trash in the finder with the apple-backspace combination, I get a pop-up window asking if I'm sure I want to permanently delete the file. Instead of moving it to the trash, it immediatly deletes the file.
Also, the last command is suppsed to hide the "mctmp" folder, but even after using the last command, the folder is still there.
I'm afraid I might have screwed up my computer. I knew the risk of using Terminal, but I wasn't aware it could be this bad.
I hope any of you here can help me out, I really don't want to reinstall my whole OS because of some messed-up hotkey.
EDIT: I also found out that even when I drag a folder to the trashcan, it deletes the file right away, without having the use the empty trash command.