User Commands - changen (1)
NAME
changen(1f) - [FILE EDIT] replace old fixed string with new fixed
string in names of files
(LICENSE:PD)
CONTENTS
Synopsis
Description
Options
Example
Author
License
SYNOPSIS
combinations:
changen [ -dryrun][ -cmd COMMAND] old new FILENAMES
or
changen --version| --help
DESCRIPTION
Given an old and new string and a list of filenames replace all
occurrences of the original string with the new string in the
filenames.
OPTIONS
|
old,new |
| |
change occurrences of old string to new string in
filenames. Trailing spaces are ignored.
|
|
FILENAMES |
| |
names of files to rename. default is "*old".
|
|
-dryrun |
| |
write the commands to stdout instead of executing them
|
|
-verbose |
| |
echo the commands to be executed
|
|
-cmd COMMAND |
| |
change command from "mv -i" to specified command name
|
|
--help |
display this help and exit
|
|
--version |
| |
output version information and exit
|
|
EXAMPLE
Sample commands:
# change all files with .f90 in their name to names ending in .F90
changen .f90 .F90 *.f90
# copy all files with .f90 in their name to names ending in .F90
changen .f90 .F90 *.f90 -cmd cp
AUTHOR
John S. Urban
LICENSE
Public Domain
| Nemo Release 3.1 | changen (1) | June 29, 2025 |
Generated by manServer 1.08 from 7ec1bd9c-9815-4282-b72f-e85534788a64 using man macros.