feat: batch rename files
This commit is contained in:
parent
43417c1b97
commit
8431fd008c
1 changed files with 7 additions and 0 deletions
7
rename_files.sh
Normal file
7
rename_files.sh
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
count=
|
||||||
|
|
||||||
|
for i in *.mkv; do
|
||||||
|
mv "$i" "example.s01.e$count.mkv"
|
||||||
|
((count++))
|
||||||
|
done
|
Loading…
Add table
Add a link
Reference in a new issue