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}}`