Man page - shtool-move(1)
Packages contas this manual
- shtool-scpp(1)
- shtool-rotate(1)
- shtool-version(1)
- shtool-prop(1)
- shtool-arx(1)
- shtool-mdate(1)
- shtool-install(1)
- shtoolize(1)
- shtool-platform(1)
- shtool-mkdir(1)
- shtool-move(1)
- shtool(1)
- shtool-subst(1)
- shtool-tarball(1)
- shtool-table(1)
- shtool-path(1)
- shtool-mkshadow(1)
- shtool-slo(1)
- shtool-echo(1)
- shtool-mkln(1)
- shtool-fixperm(1)
Package: shtool
apt-get install shtool
apt-get install shtool
Manuals in package:
Documentations in package:
Manual
| SHTOOL-MOVE.TMP(1) | GNU Portable Shell Tool | SHTOOL-MOVE.TMP(1) |
NAME
shtool-move - GNU shtool enhanced mv(1) replacement
SYNOPSIS
shtool move [-v|--verbose] [-t|--trace] [-e|--expand] [-p|--preserve] src-file dst-file
DESCRIPTION
This is a mv(1) style command enhanced with the ability to rename multiple files in a single operation and the ability to detect and not touch existing equal destinations files, thus preserving timestamps.
OPTIONS
The following command line options are available.
- -v, --verbose
- Display some processing information.
- -t, --trace
- Enable the output of the essential shell commands which are executed.
- -e, --expand
- Expand asterisk in src to be used as ""%"n" (where n is 1,2,...) in dst-file. This is useful for renaming multiple files at once.
- -p, --preserve
- Detect src-file and dst-file having equal content and not touch existing destination files, thus perserving timestamps. This is useful for applications that monitor timestamps, i.e. suppress make(1L) repeating actions for unchanged files.
EXAMPLE
# shell script
shtool move -v -e '*.txt' %1.asc
# Makefile
scanner.c: scanner.l
lex scanner.l
shtool move -t -p lex.yy.c scanner.c
HISTORY
The GNU shtool move command was originally written by Ralf S. Engelschall <rse@engelschall.com> in 1999 for GNU shtool.
SEE ALSO
shtool(1), mv(1), make(1).
| shtool 2.0.8 | 18-Jul-2008 |