Last active 1733935613

Rename a bunch of files with the same file extension

Korbs's Avatar Korbs revised this gist 1733935613. Go to revision

1 file changed, 0 insertions, 0 deletions

gistfile1.txt renamed to rename.sh

File renamed without changes

Korbs's Avatar Korbs revised this gist 1733935594. Go to revision

1 file changed, 1 insertion

gistfile1.txt(file created)

@@ -0,0 +1 @@
1 + find . | grep 'JPG' | nl -nrz -w3 -v0001 | while read n f; do mv "$f" "$n.JPG"; done
Newer Older