#Replace directories with : with - https://askubuntu.com/questions/227410/replace-all-colons-from-filenames-with-terminal For directories: find . -type d -readable -writable -exec rename 's|:|-|g' {} ; And then files: find . -type f -readable -writable -exec rename 's|:|-|g' {} ; – user8290
Created
April 4, 2018 20:31
-
-
Save carolosf/1fbc1f9220d6111e39ac9f077857ef54 to your computer and use it in GitHub Desktop.
Useful Command Line
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment