Browse Source

[nb] Edit: cli_commands.md

master
rdrew 8 months ago
parent
commit
d55f3b38fa
  1. 1
      cli_commands.md

1
cli_commands.md

@ -9,6 +9,7 @@ drush sqlq 'select count(node.nid) as node_count, node_type.type from node inner
## search replace in text mulitle files ## search replace in text mulitle files
perl -pi -w -e 's/SEARCH_FOR/REPLACE_WITH/g;' *.txt perl -pi -w -e 's/SEARCH_FOR/REPLACE_WITH/g;' *.txt
perl -pi -w -e 's/thex/robertsonlibrary/g;' **/*.*
## search replace in file names ## search replace in file names
rename 's/livero/lives/g' **/*.* -v rename 's/livero/lives/g' **/*.* -v

Loading…
Cancel
Save