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

According to Amr on 10/8/2008 6:58 PM:
> [EMAIL PROTECTED]:~$ 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             [EMAIL PROTECTED]
-----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-----


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to