navigating into hidden directories

Asked by marcus aurelius on 2011-03-06

i'm trying to get into a hidden directory

/.wine/dosdevices/c:/windows/fonts

to move fonts to the shared folder.

however, i keep getting the error "No such file or directory" in terminal.

how can hidden directories be accessed?

Thx.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Last query:
2011-03-06
Last reply:
2011-03-06

This question was reopened

Andrew Hayzen (ahayzen) said : #1

Hi marcus aurelius

After looking at my setup of WINE. the location is actually:
~/.wine/drive_c/windows/Fonts

So in terminal you would type:
cd ~/.wine/drive_c/windows/Fonts

Also just as a suggestion, would it not be easier to use Nautilus (the file browser), to show hidden directories press CTRL+H. Then you can use the file browser to copy the fonts and navigate the folder.

Hope that helps.

Andy

Or, assuming you really want to access it inside the dosdevices directory:

cd ~/.wine/dosdevices/c:/windows/fonts

Andrew Hayzen (ahayzen) said : #3

Please note that the fonts directory is in capitals (it is on mine anyway) and as linux is case sensitive the command Eliah Kagan posted won't work. Please use the command below to access inside dosdevices:
cd ~/.wine/dosdevices/c:/windows/Fonts

Hope that helps.

Andy

Andrew Hayzen (ahayzen) said : #4

Please note that the fonts directory is in capitals (it is on mine anyway) and as linux is case sensitive the command Eliah Kagan posted won't work. Please use the command below to access inside dosdevices:
cd ~/.wine/dosdevices/c:/windows/Fonts

Hope that helps.

Andy

marcus aurelius (adbiz) said : #5

actually, i can't seem to get into /.wine

mycae (mycae) said : #6

macrus, I assume you are using the terminal -- it wont be /.wine, as the leading / indicates that this is the top of the tree
https://secure.wikimedia.org/wikipedia/en/wiki/Tree_%28data_structure%29

It will be ~/.wine , as the ~ means $(HOME) , that is to say /home/marcus_aurelius/.wine (or whatever your username is on your PC).

"Please note that the fonts directory is in capitals (it is on mine anyway) and as linux is case sensitive the command Eliah Kagan posted won't work."

Andrew is quite right about this. Thanks for catching that! (So the correct command, if you want to access the fonts directory inside dosdevices, is indeed, "cd ~/.wine/dosdevices/c:/windows/Fonts".)

"actually, i can't seem to get into /.wine"

As mycae has indicated, each user has their own "Windows system" via Wine. It's *not* global; rather, .wine is located inside your home directory.

Can you help with this problem?

Provide an answer of your own, or ask marcus aurelius for more information if necessary.

To post a message you must log in.