Guest User

Untitled

a guest
Aug 19th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.16 KB | None | 0 0
  1. for file in $SOURCE_PATH/$FROM_LABEL/*/*/*.yml; do
  2.     echo "Renaming in file:  $file";
  3.     [[ -f $file ]] && ed -s "$file" <<< $'g/$FROM_LABEL/s//$TO_LABEL/g\nw\nq';
Add Comment
Please, Sign In to add comment