LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 03-05-2013, 04:57 AM   #1
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: Lubuntu, BetterLinux
Posts: 369

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
goumba
Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Wheezy (7.0), Jessie (future 8) and Sid (unstable)
Posts: 551
Blog Entries: 3

Rep: Reputation: 66
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
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 609

Rep: Reputation: 180Reputation: 180
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.
 
  


Reply

Tags
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


All times are GMT -5. The time now is 03:40 PM.

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