man icp (Commandes) - Copy a file by editing the destination name using GNU readline

NAME

icp - Copy a file by editing the destination name using GNU readline

SYNOPSIS

icp [OPTION] FILE...

DESCRIPTION

This manual page document describes the icp command.

icp is a program to interactively copy a single file. It does this by allowing the file name to be edited inline with GNU readline. This is very similar to using cp(1) and editing the filename on the shell command-line, with one exception - the filename does not have to be typed twice.

The icp program normally executes cp(1) to do the actual renaming. This can however be changed with the --command option.

OPTIONS

These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-').

All options except those listed below are passed to cp. cp.

--command=FILE
Specify command to run instead of the default `cp'. You do not need to specify the directory name of FILE if FILE is found in the current path (as set by the $PATH environment variable).

It is assumed that the command specified accepts the same set of long and short options that require an argument as cp. If not, you should specify those options with --arg-options (see below). --arg-options is not needed as long as you specify option and option value in a single word, like `--suffix=bak' instead of `--suffix bak' when passing extra options to cp via icp.

--arg-options=OPTION[,OPTION...]
Specify what options for cp (or the command specified with --command) require an argument. Options may be short (e.g. -S) as well as long (e.g. --suffix). The default list is `S,V,no-preserve,sparse,suffix,version-control' (correct for cp of GNU Coreutils 5.2.1).

This list is necessary because icp needs to know what arguments specified on the command line are files to copy, or option values (following an option).

--help
Show summary of options.
--version
Output version information and exit.

EXAMPLES

Using icp as a Bash alias for cp:

alias cp=icp

REPORTING BUGS

Report bugs to <oskar@osk.mine.nu>.

SEE ALSO

cp(1)

AUTHOR

The author of renameutils and this manual page is Oskar Liljeblad <oskar@osk.mine.nu>.

COPYRIGHT

Copyright © 2001, 2002, 2004, 2005 Oskar Liljeblad

This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.