SHTOOL-MOVE.TMP(1) | GNU Portable Shell Tool | SHTOOL-MOVE.TMP(1) |
shtool-move - GNU shtool enhanced mv(1) replacement
shtool move [-v|--verbose] [-t|--trace] [-e|--expand] [-p|--preserve] src-file dst-file
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.
# 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
The GNU shtool move command was originally written by Ralf S. Engelschall <rse@engelschall.com> in 1999 for GNU shtool.
shtool 2.0.8 | 18-Jul-2008 |