lscp
Package: WA2L/WinTools 1.2.08
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
WA2LWinTools/lib/shell/lscp
[
ls_options
]
AVAILABILITY
WA2L/WinTools
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.
OPTIONS
- ls_options
-
all native
ls
options.
EXIT STATUS
- x
-
the exit status of
cp
.
EXAMPLES
- 1) common
-
lscp
usage:
-
lscp > t.cmd
vi t.cmd
sh t.cmd
rm t.cmd
SEE ALSO
wintoolsintro(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 © 2020
Christian Walther
This is free software; see
WA2LWinTools/man/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: 16:32:17 GMT, September 14, 2024