SHARE
TWEET
Untitled
a guest
Mar 29th, 2012
18
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- # source: http://www.linuxquestions.org/questions/programming-9/bash-script-to-remove-capitalisation-and-spaces-form-a-filename-309567/
- IFS=$'\n'
- for f in `find .`; do
- file=$(echo $f | tr [:blank:] '_')
- [ -e $f ] && [ ! -e $file ] && mv "$f" $file
- done
- unset IFS
RAW Paste Data

