To enumerate a sequence, use instead of
.
Since all your files have a very similar name, we can use parameter expansion to chop off the prefix episode
while replacing it with episode0
.
The full command looks like this:
for file in episode.txt do mv "$file" "episode0$" done
$
is a parameter expansion that, in this case, expands the parameter file
while removing the shortest prefix pattern that matches episode
.