Rajko M. wrote:
> On Saturday 31 March 2007 19:04, dwain wrote:
>
>> Rajko M. wrote:
>>
> ...
>
>>> /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/
>>>
>
> This was example how names suppose to be.
> Instead of "my directory" use my_directory like it is used in:
> Adobe_ICC_Profiles
> and
> RGB_Profiles
>
> BTW, in your home directory there is no need to use "my".
> It is all yours ;-)
>
>
>>> 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'm not sure is double quote " " the source of problem, or something else,
> but
> you can use single quotes as well ' '
>
>
>> 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?
>>
>
> Known or unknown to KDE or GNOME, doesn't mean anything for copy operation,
> even in graphic mode, and nothing at all in the shell (text mode, command
> line).
>
> What is important are:
> - spaces in the file or directory name will break the name in 2 parts
> "my directory" for the shell are 2 files "my" and "directory",
> so put that in quotes will keep them as one file name, or using
> my\ directory
> will tell shell that space is part of the name.
> - slash / that marks directory, and it should not follow normal file
> - file names are case sensitive, so Dwain is not the same as dwain, DWAIN,
> dWAIN (with Caps Lock active), DwAiN etc.
> - any character that doesn't belong like dot mentioned in other post.
>
> If you want to use command line
> cp -t /usr/share/color/icc/Adobe_ICC_Profiles/RGB_Profiles/<single-space>
> /home/my\ directory/file\ directory/file.icc
>
> Note that line is broken in mail message and it should be single line with
> one
> space instead of <single-space>.
> The back slash as mentioned makes shell to accept space as part of the name.
>
> In the KDE you should have:
> Main menu - Applications
> System -- File Manager -- File Manager - Super User Mode
> give root password
> Find file in /home/my_directory/file_directory/file.icc/
> Right click on file.icc to get drop down menu, click Copy.
> Browse to /usr/share/color/icc/Adobe_ICC_Profiles/RGB_Profiles/
> Right click on empty space to get drop down menu, click Paste.
> Done.
>
>
It tells me that the file doesn't exist. WHY!!!! ;-)
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]