Guest User

Untitled

a guest
Apr 20th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. ```
  2. rename 's/oldString/newString/' *
  3. ```
  4.  
  5. 比如:before_a_dog.txt替换以后为after_a_dog.txt
  6.  
  7.  
  8. ```
  9. sed -i "s/oldString/newString/g" `grep oldString -rl /path`
  10. ```
Add Comment
Please, Sign In to add comment