Rajko M. wrote:
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.
I have done it both ways you have recommended and it still tells me the file or directory does not exist. I have written the file name as it was downloaded in caps where there are caps and I have written it in lowercase letters and still the message tells me the file does not exist. This just plain bumfuzzles me. When I did it the last way you show I used the quotation marks as you showed. Still, file does not exist. Question, if a file type is unknown can it be copied, moved or whatever? -- 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