LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   missing a folder? (https://www.linuxquestions.org/questions/linux-general-1/missing-a-folder-283762/)

Doug.Gentry 01-29-2005 01:48 PM

missing a folder?
 
I'm running suse 9.2 and I created a folder caled download in the documents folder. I was going to set firefox to drop my downloaded files it does in the file called download.

problem is, whn I click on the little home icon on the bottom and go to documents. I don't see my "download" file.

BUT... when I open a term window and do.

doug@linux:~> ls
bin Desktop Documents Mail public_html
doug@linux:~> cd Documents
doug@linux:~/Documents> ls
Dougs Storys Download music pictures T H E hackers notebook.doc
doug@linux:~/Documents>

you can see the Download file?

but I can't view it from a the home icon.

Any ideas on why.
I did look at the hidden files.. nothing there.. at least not my Download file.

Dark_Helmet 01-29-2005 02:17 PM

Ok, hang on a sec. Is "Download" a file or a directory?

Post the outout of:
Code:

ls -ld /home/doug/Documents/Download
Firefox can't save your downloads into another file. Not unless you're getting into things like loopback devices (and I doubt that's the case here).

EDIT:
Also, the file browser window that you open by clicking your Home icon ought to display the path it's using somewhere in the window. Make sure the path it displays is the same as the path to Downloads. Make sure to double-check (un)capitalized letters. Linux filesystems are case-sensitive (e.g. "documents" is not the same thing as "Documents")

Doug.Gentry 01-29-2005 02:59 PM

LOL, I opened the Konqueror browser and went to my home dir. and looked. I went into the documents directory and no downloads directory to be found.
So I hit edit and create new directory. I typed in download and lo and behold, another directory popped up called Downloaded. I went ahead and deleted that one. and kept the downloads directory.

Everythings fine now.
I just wonder why it didn't show up before?

anyway, thanks for your help and your quick response.

Thanks Doug.

PS and the output for that command is
doug@linux:~> ls -ld /home/doug/Documents/Download
/bin/ls: /home/doug/Documents/Download: No such file or directory
doug@linux:~> ls -ld /home/doug/Documents/download
drwxr-xr-x 2 doug users 48 2005-01-29 12:48 /home/doug/Documents/download
doug@linux:~>

You can see where I changed the name from a "D" to a "d"

one last quick question. There's a switch or something you have to put into the middle of a file name with multiple parts isn't there?

Like if I created a file called "My Documents" or my music.
when I try to look with a term window it can never bring up the file. It says no such file.
well when I do a ls I can see the file there called "My Music"

I ask that because I have had that problem before.
I solved it by re-naming the file from my music to music and it opens just fine.

I just can't remember what it is I have to put in between the words... in case I ever run into this again.

Thanks soooooooooooooo much.
Doug Gentry

Dark_Helmet 01-29-2005 03:14 PM

Yeah, filenames or directory names with certain characters in them (spaces for example) need to be "escaped". The reason for this is, the shell will see the space on the command line, and it doesn't know what to do. Should the space separate arguments? Should the space be taken as part of a single argument? So it's up to the user to write unambiguous commands. There are at least two ways to do it:
Code:

ls My\ Documents
or
Code:

ls "My Documents"
Also, if you use tab-completion, and "My Documents" iis the only file/folder that starts with "My", then when you hit tab to complete the filename, the shell will automatically do the necessary escape sequences for you (as in the first example). Tab complete will also work inside a double-quote. If you play with it, you'll see what I mean.

Doug.Gentry 01-29-2005 03:20 PM

AH, thank you.
I shouldn't run into that problem anymore. I made sure I only have one word directory names.
This started out when I copied some directories from my windows xp computer to my suse computer.

thank you again for all your help.


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