[UP]


Manual Reference Pages  - _rename (1)

NAME

_rename(1f) - [FUNIX:FILESYSTEM] rename files by replacing first occurrence of a string in a filename with new string (LICENSE:PD)

CONTENTS

Synopsis
Description
Examples
Options
Author
License

SYNOPSIS

_rename old new file... [ -verbose][ -dryrun]|[ -help|-version]

DESCRIPTION

_rename(1f) will rename the specified files by replacing the first occurrence of expression in their name by replacement.

EXAMPLES

Given the files foo1, ..., foo9, foo10, ..., foo278, the commands

      _rename foo foo0 foo?
      _rename foo foo0 foo??

will turn them into foo001, ..., foo009, foo010, ..., foo278. And

      _rename .htm .html *.htm

will fix the extension of *.htm files.

OPTIONS

old represents a string to change in filenames
new the replacement string for EXPRESSION.
-verbose
  Print information about what the program does.
--help Display a help message and exit.
--version
  Display version information and exit.
--dryrun
  Does all file operations except for moving the changed file back to the original. Implies --version.

AUTHOR

John S. Urban

LICENSE

Public Domain


_rename (1) March 11, 2021
Generated by manServer 1.08 from 68d4ba76-7334-4bf4-9e38-b6c33ae2ffb5 using man macros.