Hey guys,
I downloaded a freeware file from macrumors which had a command line script to fix my iMac fan which was continuously running. I tried the program but decided it wasn't any good for me so I used the command line script included to uninstall...
Right before my eyes I seen my desktop files and folders disappear one by one.
I lost my files from my documents and downloads folders as well as my desktop.
Firefox and other programs have reset themselves, I have lost all settings and bookmarks for firefox and some programs which I have a license for (e.g. BetterTouchTool) now wants me to re enter my license info.
I've lost a lot but I'm not sure if these files have been deleted?
I'm still using my same account on the mac, it's just that everything has disappeared.
I downloaded the file from here...
https://forums.macrumors.com/threads/fan-noise-on-startup-and-wake-from-sleep.1638399/#post-19125759
Here is the code from the uninstall script included in the link that ended up wiping all my files and settings.
Please help
I downloaded a freeware file from macrumors which had a command line script to fix my iMac fan which was continuously running. I tried the program but decided it wasn't any good for me so I used the command line script included to uninstall...
Right before my eyes I seen my desktop files and folders disappear one by one.
I lost my files from my documents and downloads folders as well as my desktop.
Firefox and other programs have reset themselves, I have lost all settings and bookmarks for firefox and some programs which I have a license for (e.g. BetterTouchTool) now wants me to re enter my license info.
I've lost a lot but I'm not sure if these files have been deleted?
I'm still using my same account on the mac, it's just that everything has disappeared.
I downloaded the file from here...
https://forums.macrumors.com/threads/fan-noise-on-startup-and-wake-from-sleep.1638399/#post-19125759
Here is the code from the uninstall script included in the link that ended up wiping all my files and settings.
Code:
#! /bin/sh
echo "***** SOS WakeUp fan loud for early MacPro 2006-2007 *****"
sleep 2
echo "***** Now uninstall in progress *****"
echo "***** Please enter your administrator password *****"
pid=$(ps -fe | grep 'sleepwatcher' | awk '{print $2}')
sudo kill $pid
sleep 1
echo "***** Uninstall -> Sleepwatcher with config *****"
sudo rm -rf /usr/local/sbin/sleepwatcher
sudo rm -rf /usr/local/share/man/man8/sleepwatcher.8
sudo rm -rf /Library/LaunchDaemons/de.bernhard-baehr.sleepwatcher-20compatibility.plist
echo "***** Uninstall -> SmcFanControl with config *****"
# Set Mac Pro default fan speed :
/Applications/smcFanControl.app/Contents/Resources/smc -k F0Mx -w 2d50
/Applications/smcFanControl.app/Contents/Resources/smc -k 'FS! ' -w 0000
sleep 1
pid=$(ps -fe | grep 'smcFanControl' | awk '{print $2}')
sudo kill $pid
sleep 1
localUser=$( dscl . list /Users UniqueID | awk '$2 >= 501 {print $1}' | grep -v admin )
sudo rm -rf /Users/$localUser/Library/Preferences/com.eidac.smcFanControl2.plist
sudo rm -rf /Users/$localUser/Library/Application\ Support/smcFanControl
sleep 1
osascript -e 'tell application "System Events" to delete login item "smcFanControl"'
sudo rm -rf /Applications/smcFanControl.app
echo "***** Uninstall OK ! *****"
exit 0
Please help
Last edited: