From 8d40ac5051060cf1c89787a8cdaab628a5d11dfe Mon Sep 17 00:00:00 2001 From: niki six Date: Mon, 9 Nov 2020 22:44:47 -0600 Subject: [PATCH] rename: add page (#4946) --- pages/osx/rename.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 pages/osx/rename.md diff --git a/pages/osx/rename.md b/pages/osx/rename.md new file mode 100644 index 000000000..137430e8d --- /dev/null +++ b/pages/osx/rename.md @@ -0,0 +1,7 @@ +# rename + +> Rename a file or group of files with a regex. + +- Replace `from` with `to` in the filenames of the specified files: + +`rename 's/{{from}}/{{to}}/' {{*.txt}}`