lscp
Package: WA2L/edrc 1.5.57
Section: General Commands (1)
Updated: 28 June 2006
Index
Return to Main Contents
NAME
lscp - print list with cp-commands in the current working directory
SYNOPSIS
edrc/bin/lscp
[
ls_options
]
AVAILABILITY
WA2L/edrc
DESCRIPTION
Print a list of
cp
commands with files in the current working directory to stdout. This is useful
if many filenames have to be copied to different filenames.
The common usage is to invoke
lscp,
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 copy many files to different filenames.
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 copied, but the content might be
identical in many cases.
OPTIONS
- ls_options
-
all native
ls
options.
EXIT STATUS
- x
-
the exit status of
cp.
EXAMPLES
- 1) common
-
lscp
usage:
-
lscp > a; vi a; sh a; rm a
SEE ALSO
edrcintro(1),
ls(1),
lsmv(1),
cp(1)
BUGS
-
AUTHOR
lscp 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:11 GMT, March 08, 2025