Replace All Colons From Filenames With Terminal
If all your files are in a single directory, try:
rename 's|:|-|g' *
(where * can be changed to something more restrictive if you'd like)
If you have many files in a directory tree, try this from the base of the tree:
find . -name "*:*" -exec rename 's|:|-|g' {} \;
You can add the option -n
right after rename
to have it tell you what it WOULD do without ACTUALLY doing it. This might help you avoid accidentally stepping on other files or something else bad...