Joerg Schilling wrote:
> Graham Murray <[email protected]> wrote:
>
>
>> [email protected] (Joerg Schilling) writes:
>>
>>
>>> "cp" neither has a "-a" nor a "-x" option. Are you talking abut "gcp"?
>>>
>> yes it does
>>
>
> See below....
>
>
>> cp --help
>> Usage: cp [OPTION]... [-T] SOURCE DEST
>> or: cp [OPTION]... SOURCE... DIRECTORY
>>
>
> So you are definitely not talking about "cp" but about "gcp" ;-)
>
> BTW: if you like star not to cross filesystem boundaries, add -M.
>
> Jörg
>
>
I jusr recently copied my system using cp -av and it does have a -a
option. It's in my man page as well. I have not even heard of gcp so I
don't think I have ever used it.
>From the man page:
CP(1) User
Commands CP(1)
NAME
cp - copy files and directories
SYNOPSIS
cp [OPTION]... [-T] SOURCE DEST
cp [OPTION]... SOURCE... DIRECTORY
cp [OPTION]... -t DIRECTORY SOURCE...
DESCRIPTION
Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.
Mandatory arguments to long options are mandatory for short
options too.
-a, --archive
same as -dpR
and the list goes on. It's there, I just used it the other day and it
works.
Dale
:-) :-)