Review your favorite Linux distribution.
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, 05:57 AM   #1
Registered: Mar 2009
Location: Pennsylvania
Distribution: Lubuntu, BetterLinux
Posts: 370

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, 07:23 AM   #2
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Jessie (8) and Sid (unstable)
Posts: 897
Blog Entries: 4

Rep: Reputation: 189Reputation: 189
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, 07:52 AM   #3
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 627

Rep: Reputation: 185Reputation: 185
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 02:35 PM
deleting menu items in wine vansch76 Linux - Software 1 07-31-2011 11:59 AM
deleting duplicate lines without deleting first instance of the duplicated line jkeertir Linux - Newbie 2 02-07-2011 07:55 AM
A wine question: Theming wine or changing wine's colour scheme PatrickMay16 General 8 12-17-2006 07:53 AM
Link targets - problems with Wine (Though not Wine specific - Wine site doesn't help) Kevjml Linux - Newbie 1 01-13-2006 08:53 AM

All times are GMT -5. The time now is 02:57 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration