Skip to content

Instantly share code, notes, and snippets.

View sharkoz's full-sized avatar
😃

Cosme Charlier sharkoz

😃
  • Cdiscount
  • Bordeaux, France
View GitHub Profile
@sharkoz
sharkoz / ctrlh
Created April 20, 2013 19:12
[Shell] Ctrl+h across files : Find $1 and replace with $2 in all files of folder and subfolders
function ctrlh(){ find . -maxdepth 1 -type f -print0 | xargs -0 sed -i "s£$1£$2£g"; };