Originally posted by peterjhill
WARNING, NOT DOING THIS CORRECTLY WILL ERASE YOUR HARD DRIVE COMPLETELY WITH NO QUESTIONS ASKED!!!
THe /sw directory is where fink installs all of its files. This makes uninstall trivial. There are two ways to delete it, one fast but "risky" one slower, but less risky.
fast way:
sudo rm -rf /sw
Make sure there is NO space between / and sw, because if there is, then you just removed all files from / which is your entire hard drive
slow way:
open a finder window and browse to the root of your hard disk, it will have
System, Developer, Users, Applications, Library, sw and maybe some other folders. Open a get info window on the folder, authenticate so that you can change the permissions and set them all to you for all files and folders. Then trash the sw folder.
The "sudo -rf /sw" is the best method, since you won't have to change permissions on a zillion files, only to delete them.