Jon Clausen wrote:
On Sat, 31 Mar, 2007 at 22:38:41 -0500, dwain wrote:
I'm trying to copy an .icc profile from my home directory to the Adobe Icc Profiles/RGB Profiles directory. I su in the console then cp -t /home/my directory/file directory/file.icc/ /usr/share/color/icc/Adobe_ICC_Profiles/RGB_Profiles/.
The result is that the .icc file does not exist. What am I doing incorrectly? How do I need to write the command?
Dwain,
If you don't know about it already, then here's a tip;
Use <TAB>-completion.
Basically it works like this:
Pressing <TAB> makes the shell try to complete whatever you're in the process of writing. This is a very nice feature, which not only saves you lots of keystrokes, but also 'composes' whatever to be 'syntactically' correct, including upper/lower case letters and proper escaping of whitespace etc. ('Syntax' is used here for lack of a better word)
If there are more than one possible way to complete something (like a filename), then the first <TAB> will complete as much as it can, and a second <TAB> will list the possible choices. In this case, you type the next letter, and press <TAB> again... etc... etc...
So - instead of trying to write everything out with keystrokes, you should let the shell help you figure it out. Because the shell 'knows' how stuff (like paths/filenames) should be written.
Now, about your *actual* problem a couple of things spring to mind:
Is "/home/my directory/" in fact a real pathname? My guess would be that it really would be something like "/home/dwain/".
Looking at the file list at http://www.novell.com/products/linuxpackages/suselinux/adobeiccprofiles.html tells me that the target folder *does* indeed contain whitespaces, which must be escaped.
I'd suggest you verify both source and destination, using 'ls -l' and <TAB> completion first, and *then* do your 'cp'.
HTH /Jon
Thanks Jon, I'll have to remember the <Tab> thing. This is all so new to me, and I don't know a lot of tricks yet on how to make the system work for me instead of the other way around. I guess it's the blockhead in me that wants it to be just so. This Linux thing is a new adventure for me, and as many times as I have installed the OS over the past week, I'm getting pretty good at it. Again, thanks to all of you who have taken the time to work with me. I hope one day I will be able to return the favor to another new comer to the system. Cheers, Dwain -- Dwain Alford P.O. Box 145 Winfield, Alabama 35594 telephone: 205.487.2570 cellphone: 205.495.5619 "The artist may use any form which his expression demands; for his inner impulse must find suitable expression." Wassily Kandinsky, "Concerning The Spiritual In Art" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org