shtool move [-v|--verbose] [-t|--trace] [-e|--expand] [-p|--preserve]
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.
The following command line options are available.
Display some processing information.
Enable the output of the essential shell commands which are
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.
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.
# shell script
shtool move -v -e '*.txt' %1.asc
shtool move -t -p lex.yy.c scanner.c
The GNU shtool move command was originally written by Ralf S.
Engelschall <email@example.com> in 1999 for GNU shtool.
shtool(1), mv(1), make(1).
18-Jul-2008 shtool 2.0.8 SHTOOL-MOVE.TMP(1)
Man Pages Copyright Respective Owners. Site Copyright (C) 1994 - 2017
All Rights Reserved.