changen(1f) - [FILE EDIT] replace old fixed string with new fixed string in names of files (LICENSE:PD)
Synopsis
Description
Options
Example
Author
License
combinations:
changen [ -dryrun][ -cmd COMMAND] old new FILENAMES or changen --version| --help
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.
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
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
John S. Urban
Public Domain
Nemo Release 3.1 | changen (1) | February 23, 2025 |