diff options
Diffstat (limited to 'content/snippets/batch-rename-files.md')
-rw-r--r-- | content/snippets/batch-rename-files.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/content/snippets/batch-rename-files.md b/content/snippets/batch-rename-files.md new file mode 100644 index 0000000..1413d11 --- /dev/null +++ b/content/snippets/batch-rename-files.md @@ -0,0 +1,11 @@ +--- +title: Batch rename files using rename +description: Batch rename files using rename +tags: ["commandline"] +--- + +This appends .json to each file that doesn't already have a .json extension. + +```console +rename 's/$/.json/' * +``` |