bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: could copy fonts from windows folder to Ubuntu font folder


From: Eric Blake
Subject: Re: could copy fonts from windows folder to Ubuntu font folder
Date: Wed, 08 Oct 2008 20:26:01 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080914 Thunderbird/2.0.0.17 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Amr on 10/8/2008 6:58 PM:
> address@hidden:~$ sudo cp [src
> windows/Amr-1/WINDOWS/Fonts/*ttf]/usr/local/share/fonts/
> [sudo] password for blue: 
> cp: cannot stat `[src': No such file or directory

Thanks for the report.  However, it appears that you have a
misunderstanding on the syntax for cp.  And you could have provided more
details on what you were trying to accomplish, along with your screen capture.

> Usage: cp [OPTION]... [-T] SOURCE DEST
>   or:  cp [OPTION]... SOURCE... DIRECTORY

In this case, the [] are metasyntactic devices meaning that what they
enclose is optional; the literal [] are not part of what you type.  The
error message from cp reinforces this - you asked to copy a file literally
named "[src", which does not exist.  Do you really have a directory named
'src\nwindows', with the newline in there?  Perhaps you meant to type
something like this?

cp srcwindows/Amr-1/WINDOWS/Fonts/*ttf /usr/local/share/fonts/

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjta7gACgkQ84KuGfSFAYACQACfeza1F3rf7aVGOhmh0eEjzjwi
wpUAnAkpze9uYGNxQi2H4Bu6GtM55OUg
=dkIj
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]