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 -- YMMV -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org