repo.or.cz
/
scripts.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
first commit
[scripts.git]
/
epiname
blob
2046a8092257ea0ec527a8403fdd7aba412cde40
1
#bin/bash
2
echo "What extension are the videos?(ignoring the first dot)"
3
read extension
4
for i in *.$extension; do
5
echo "$i"
6
echo "Episode name:"
7
read epiTitle
8
echo ""
9
mv "$i" "${i/.$extension/}$epiTitle.$extension"
10
done