Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-05-2013, 04:57 AM   #1
Registered: Mar 2009
Location: Pennsylvania
Distribution: gentoo
Posts: 372

Rep: Reputation: 29
Deleting Wine C:

I have wine installed on my system, although I never ever use it for anything, but in the past I did and I installed some things and now it doesn't even work well cause the wine "hard drive" located at ~/.wine/drive_c is really sloppy and ugly and I can't install many things because I also abused wine tricks a lot.
Anyway, what I want to do is just delete the drive completely, it has some big programs installed on it, and its just taking up space on my data partition where I don't want to have applications installed anyway.
However, I looked around to make sure I wouldn't be deleting anything important, and I noticed that there are some symlinks to ~/Documents and ~/Videos and even a symlink to ~/ in there.
So, my question is, if I issue the command "rm -r ~/.wine/drive_c" is rm going to recursively look in those symlinks and delete everything in ~/Documents and ~/ (all my important files)? Obviously that would be a bad thing.

I would just expect it to remove the symlinks only, but I remember reading something in the busybox configuration that there was a busybox option that would allow rm to behave that way (remove symlinks) but that it would break some standard.
I am not using busybox on my system, I am using the distro provided GNU coreutils, so I am a little scared about what might happen.
Old 03-05-2013, 06:23 AM   #2
Senior Member
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Current: Fedora and OpenSUSE. Past: Debian, Arch, RedHat (pre-RHEL). FreeBSD & OpenBSD, macOS (hack)
Posts: 1,212
Blog Entries: 7

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
I've done this many times, just rm -fr and get rid of it all. In my experience nothing outside of drive_c was touched.
Old 03-05-2013, 06:52 AM   #3
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 647

Rep: Reputation: 189Reputation: 189
Also, remember that you can have several distinct WINEPREFIX locations on your system and all of them will contain an independent (from the others) "C:" drive.
Read more here.


busybox, delete, rm, symlinks, wine

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wine Problems CS4 Dreamweaver wont install 64bit wine openSuSE 11.4 Dizzymman Linux - Software 13 06-25-2012 01:35 PM
deleting menu items in wine vansch76 Linux - Software 1 07-31-2011 10:59 AM
deleting duplicate lines without deleting first instance of the duplicated line jkeertir Linux - Newbie 2 02-07-2011 06:55 AM
A wine question: Theming wine or changing wine's colour scheme PatrickMay16 General 8 12-17-2006 06:53 AM
Link targets - problems with Wine (Though not Wine specific - Wine site doesn't help) Kevjml Linux - Newbie 1 01-13-2006 07:53 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:06 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration