Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 624 Bytes

File metadata and controls

22 lines (12 loc) · 624 Bytes

recursive-file-path-replace

NANE

recursive-rename.sh - recursively rename folders and files

SYNOPSIS

./recursive-replace.sh "PATTERN" "SUBSTITUTION"

DESCRIPTION

Recursively rename folders and files in the current directory replacing a pattern string with a substitute string.

You should execute this script from the directory you want it to run from; either by copying the script into the directory and running it, or calling it from the directory you are in.

PATTERN and SUBSTITUTION should be wrapped in quotes.

The pipe | character does not need to be escaped.

AUTHOR

Written by Rohan Hope.