How to remove all colons in file names:
To rename files in the current directory and all its subdirectories by removing colons from their filenames, you can use the following one-liner command:
find . -depth -name '*:*' -execdir bash -c 'mv "$1" "${1//:/}"' bash {} \;
Explanation
find . -depth -name '*:*': This finds all files (including in subdirectories) that contain a colon in their name.-execdir: Executes the command in the directory where the file is located.bash -c 'mv "$1" "${1//:/}"' bash {} \;: This command runsmvto rename the file, removing colons from the filename.