~ubuntu-branches/ubuntu/feisty/renameutils/feisty

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
.\"                                      -*- nroff -*-
.\" imv.1 - Manual page for imv.
.\"
.\" Copyright (C) 2001, 2002, 2004, 2005 Oskar Liljeblad
.\"
.\" This program is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation; either version 2 of the License, or
.\" (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
.\" GNU Library General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
.\"
.TH IMV "1" "August 12, 2005" "imv (renameutils)"
.SH NAME
imv \- Rename a file by editing the destination name using GNU readline
.SH SYNOPSIS
.B imv
.RI [ OPTION ] " FILE"...
.SH DESCRIPTION
This manual page document describes the \fBimv\fP command.

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

The \fBimv\fP program normally executes \fBmv\fP(1) to do the actual renaming.
This can however be changed with the \-\-command option.
.SH 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 \fBmv\fP.
.TP
\fB\-\-command\fR=\fIFILE\fR
Specify command to run instead of the default `mv'.
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 mv. 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 mv via imv.

.TP
\fB\-\-arg\-options\fR=\fIOPTION\fR[,\fIOPTION\fR...]
Specify what options for mv (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,reply,target-directory,suffix,version-control'
(correct for mv of GNU Coreutils 5.2.1).

This list is necessary because imv needs to know what arguments
specified on the command line are files to move, or option
values (following an option).
.TP
\fB\-\-help\fR
Show summary of options.
.TP
\fB\-\-version\fR
Output version information and exit.
.SH EXAMPLES
Using imv as a Bash alias for mv:
.br
	\fBalias mv=imv\fR
.SH REPORTING BUGS
Report bugs to <\fIoskar@osk.mine.nu\fP>.
.SH SEE ALSO
\fBmv\fP(1)
.SH AUTHOR
The author of \fBrenameutils\fP and this manual page is Oskar Liljeblad <\fIoskar@osk.mine.nu\fP>.
.SH COPYRIGHT
Copyright \(co 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.