Last active 3 weeks ago

remove tildes from filenames

tre revised this gist 3 weeks ago. Go to revision

1 file changed, 3 insertions

tildego.sh(file created)

@@ -0,0 +1,3 @@
1 + #!/usr/bin/env bash
2 +
3 + for file in *; do mv "${file}" "${file/\~/}" 2> /dev/null; done
Newer Older