add handy thing to rename files with colons to dashes
parent
430f1f0b9a
commit
8c126dabb3
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
find . -name '*:*' -type f -print0 | perl -0ne 'rename $_, s{[^/]+$}{$& =~ y/:/-/r}res or warn "rename $_: $!"'
|
Loading…
Reference in New Issue