On Saturday 31 March 2007 22:38, 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
/home/my directory/file directory/file.icc/ ^^^ ^^^^ ^^^ Are the spaces real? Is that file or directory? If spaces are not the problem than cp --help tells Usage: cp [OPTION]... [-T] SOURCE DEST or: cp [OPTION]... SOURCE... DIRECTORY or: cp [OPTION]... -t DIRECTORY SOURCE... Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY. So your command tells cp to use: /home/my_directory/file_directory/file.icc/ as directory where you should copy: /usr/share/color/icc/Adobe_ICC_Profiles/RGB_Profiles/ Simple cd /home/my_directory/file_directory/ cp file.icc /usr/share/color/icc/Adobe_ICC_Profiles/RGB_Profiles/ will do what you want, or if you want your way: cp -t /usr/share/color/icc/Adobe_ICC_Profiles/RGB_Profiles/ "/home/my directory/file directory/file.icc" should do it. -- Regards, Rajko. http://en.opensuse.org/Portal -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org