bug-coreutils
[Top][All Lists]
Advanced

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

Re: cp --help


From: Jim Meyering
Subject: Re: cp --help
Date: Mon, 24 Jan 2005 09:12:31 +0100

Johan Boule <address@hidden> wrote:
> in the output of cp --help,
> the line of --no-dereferrence should be merged with
> the line of -P, like:
>
>       -P, --no-dereferrence   never follow symbolic links

Thanks for pointing that out.
Now cp's --help output looks like this:

  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.

  Mandatory arguments to long options are mandatory for short options too.
    -a, --archive                same as -dpR
        --backup[=CONTROL]       make a backup of each existing destination file
    -b                           like --backup but does not accept an argument
        --copy-contents          copy contents of special files when recursive
    -d                           same as --no-dereference --preserve=link
    -f, --force                  if an existing destination file cannot be
                                   opened, remove it and try again
    -i, --interactive            prompt before overwrite
    -H                           follow command-line symbolic links
    -l, --link                   link files instead of copying
    -L, --dereference            always follow symbolic links
    -P  --no-dereference         never follow symbolic links
    -p                           same as --preserve=mode,ownership,timestamps
        --preserve[=ATTR_LIST]   preserve the specified attributes (default:
                                   mode,ownership,timestamps), if possible
                                   additional attributes: links, all
        --no-preserve=ATTR_LIST  don't preserve the specified attributes
        --parents                append source path to DIRECTORY
    -R, -r, --recursive          copy directories recursively
    ...




reply via email to

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