Advertisement
marcoshalano

Quick fix for wrong filenames

Apr 1st, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.08 KB | None | 0 0
  1. for file in part{00..99}.mp4
  2. do
  3.    mv "$file" "${file/#part/part0}"
  4. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement