Korbs revised this gist 11 months ago. Go to revision
1 file changed, 0 insertions, 0 deletions
gistfile1.txt renamed to rename.sh
File renamed without changes
Korbs revised this gist 11 months ago. 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 | |