Guest User

Untitled

a guest
Jun 20th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. for FILE in `ls $DIR/*.txt`
  2. do
  3. mv -v "$FILE" `echo $FILE | sed 's/\./_/'` # add g for global replace
  4. done
Add Comment
Please, Sign In to add comment