[UP]


Manual Reference Pages  - change (1)

NAME

change(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

change c/old/new/ FILENAMES [ -dryrun][ -cmd COMMAND]| --version| --help

DESCRIPTION

Given a change directive and a list of filenames replace all occurrences of the original string with the new string.

OPTIONS

c/old/new/
  change occurrences of old string to new string in filenames. The first character after the c is the delimiter for the strings. Spaces are not allowed in the expression.
FILENAMES
  names of files to rename
-dryrun
  write the commands to stdout instead of executing them
-verbose
  echo the commands to be executed
-cmd COMMAND
  change command from "mv" 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 *.F90
   change c/.f90/.F90/  *.f90
   # copy all files with .f90 in their name to *.F90
   change c@.f90@.F90@  *.f90 -cmd cp

AUTHOR

John S. Urban

LICENSE

Public Domain


change (1) March 11, 2021
Generated by manServer 1.08 from 375ab6fe-78c4-43f8-be1b-cd0fda912bd9 using man macros.