Deleting the hidden .wine folder in OSX... Help! [RESOLVED]
-
- Newbie
- Posts: 4
- Joined: Sun Apr 26, 2009 2:49 am
Deleting the hidden .wine folder in OSX... Help! [RESOLVED]
How do I delete the hidden .wine folder on OS X if rm -rf doesn't work, I can't cd to it, and Houdini can't view it?
I'm trying to uninstall wine from OS X and I need to delete the virtual C drive. If I "locate wine" in the terminal, it reveals that the virtual C drive is in /Users/foo/.wine. rm -rf and sudo rm -rf have no effect. I also can't cd to /Users/foo/.wine, it tells me "file or directory does not exist." In Houdini, it doesn't show a .wine folder under the user directory.
Any advice on how to remove the folder? There's a good deal of disk space locked up in windows programs I'd like to free up.
Thanks for your time.
I'm trying to uninstall wine from OS X and I need to delete the virtual C drive. If I "locate wine" in the terminal, it reveals that the virtual C drive is in /Users/foo/.wine. rm -rf and sudo rm -rf have no effect. I also can't cd to /Users/foo/.wine, it tells me "file or directory does not exist." In Houdini, it doesn't show a .wine folder under the user directory.
Any advice on how to remove the folder? There's a good deal of disk space locked up in windows programs I'd like to free up.
Thanks for your time.
Last edited by helpplease on Sun Apr 26, 2009 3:43 am, edited 4 times in total.
Deleting the hidden .wine folder in OSX... Help!
On Sun, Apr 26, 2009 at 2:51 AM, helpplease <[email protected]> wrote:
--
-Austin
Are you sure it's not in /Users/username/.wine?How do I delete the hidden .wine folder on OS X if rm -rf doesn't work, I can't cd to it, and Houdini can't view it?
I'm trying to uninstall wine from OS X and I need to delete the virtual C drive. If I "locate wine" in the terminal, it reveals that the virtual C drive is in /username/.wine. rm -rf and sudo rm -rf have no effect. I can't cd to /username/.wine, it tells me "file or directory does not exist." In Houdini, it doesn't show a .wine folder under the user directory.
Any advice on how to remove the folder? There's a good deal of disk space locked up in windows programs I'd like to free up.
Thanks for your time.
--
-Austin
-
- Level 2
- Posts: 26
- Joined: Thu Apr 23, 2009 7:23 am
/username/.wine doesn't sound right. In OS X your home directory is located in /Users/username. Instead of using the full path, try this while logged on as the user whose wine directory you want to delete:
rm -rf ~/.wine
The ~ refers to the path to your own home directory, so is equivalent to /Users/foo (if the logged on user is called foo)
rm -rf ~/.wine
The ~ refers to the path to your own home directory, so is equivalent to /Users/foo (if the logged on user is called foo)
-
- Newbie
- Posts: 4
- Joined: Sun Apr 26, 2009 2:49 am
Sorry for not being clear: .wine is under /Users/username. I cannot delete the folder with sudo rm -rf /Users/username/.wine.
In fact, I can't even navigate to it... Cd indicates the folder does not exist, and Houdini can't see the hidden file. Under /Users/username, ls does not reveal the .wine folder.
However, locate wine does show the path /Users/username/.wine/drive_c/ etc etc.
Thanks for your reply though... any other suggestions?
In fact, I can't even navigate to it... Cd indicates the folder does not exist, and Houdini can't see the hidden file. Under /Users/username, ls does not reveal the .wine folder.
However, locate wine does show the path /Users/username/.wine/drive_c/ etc etc.
Thanks for your reply though... any other suggestions?
-
- Level 2
- Posts: 26
- Joined: Thu Apr 23, 2009 7:23 am
-
- Newbie
- Posts: 4
- Joined: Sun Apr 26, 2009 2:49 am
rm -rf does not work. The command executes with no errors, but "locate wine" afterwards still shows thousands of files under /User/foo/.wine/drive_c/.
If I navigate to /User/foo and ls -a, I can't see the .wine folder. .wine doesn't show up under /User/foo in finder with show hidden files enabled either.
So to recap, (sudo) rm -rf doesn't work for $HOME, ~/, or /User/foo (spelled out).
Thanks for all your help guys. =) The wine community is great.
If I navigate to /User/foo and ls -a, I can't see the .wine folder. .wine doesn't show up under /User/foo in finder with show hidden files enabled either.
So to recap, (sudo) rm -rf doesn't work for $HOME, ~/, or /User/foo (spelled out).
Thanks for all your help guys. =) The wine community is great.
-
- Level 2
- Posts: 26
- Joined: Thu Apr 23, 2009 7:23 am
IIRC locate doesn't actually search the disk, it searches its own database. Maybe the locate database is out of date and is showing files which aren't actually there.
To update the database, try this:
sudo /usr/libexec/locate.updatedb
then
locate wine
and see if the files still show up in your home directory.
To update the database, try this:
sudo /usr/libexec/locate.updatedb
then
locate wine
and see if the files still show up in your home directory.
-
- Newbie
- Posts: 4
- Joined: Sun Apr 26, 2009 2:49 am
-
- Level 2
- Posts: 26
- Joined: Thu Apr 23, 2009 7:23 am
Deleting the hidden .wine folder in OSX... Help!
On Sun, 2009-04-26 at 03:17 -0500, helpplease wrote:
at part of the overnight cron jobs.
Either look again next day to convince yourself that its gone or run
'updatedb' as root. BTW, the same restriction applies to the 'apropos'
manpage finder.
In summary:
- 'locate' doesn't see recent changes until cron has run 'updatedb'
- if you want to check on a change you've just made, use 'ls' or 'find'
Martin
That's because 'locate' is scanning a database thats typically refreshedHowever, locate wine does show the path /Users/username/.wine/drive_c/ etc etc.
at part of the overnight cron jobs.
Either look again next day to convince yourself that its gone or run
'updatedb' as root. BTW, the same restriction applies to the 'apropos'
manpage finder.
In summary:
- 'locate' doesn't see recent changes until cron has run 'updatedb'
- if you want to check on a change you've just made, use 'ls' or 'find'
Martin