lsmv
Package: WA2L/edrc 1.5.57
Section: General Commands (1)
Updated: 28 June 2006
Index
Return to Main Contents
NAME
lsmv - print list with mv-commands in the current working directory
SYNOPSIS
edrc/bin/lsmv
[
ls_options
]
AVAILABILITY
WA2L/edrc
DESCRIPTION
Print a list of
mv
commands with files in the current working directory to stdout. This is useful
if many filenames have to be adjusted.
The common usage is to invoke
lsmv,
redirect the output to a temporary file, load the temporary file into
vi,
modify the filenames with the editing functionality of
vi
and then execute the commands in the temporary file. With this procedure
it is very effective to rename many files.
This functionality might be used often when integrating a new application
into a disaster recovery solution thru copying an existing application recovery
sequence. In this case many files have to be reamed, but the content might be
identical in many cases.
OPTIONS
- ls_options
-
all native
ls
options.
EXIT STATUS
- x
-
the exit status of
mv.
EXAMPLES
- 1) common
-
lsmv
usage:
-
lsmv > a; vi a; sh a; rm a
SEE ALSO
edrcintro(1),
ls(1),
lscp(1),
mv(1)
BUGS
-
AUTHOR
lsmv was developed by Christian Walther. Send suggestions
and bug reports to wa2l@users.sourceforge.net .
COPYRIGHT
Copyright © 2008
Christian Walther
This is free software; see
edrc/doc/COPYING
for copying conditions. There is ABSOLUTELY NO WARRANTY; not
even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This document was created by man2html
using the manual pages.
Time: 00:14:12 GMT, March 08, 2025