Last active
January 5, 2017 09:02
-
-
Save aaerofeev/b8f4d84d13c705f4ccd4e8671ce0efd1 to your computer and use it in GitHub Desktop.
Theme Drupal 8 rename
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -type f -name "THEMENAME*" -print0 | while read -r -d '' file; do | |
mv "$file" "${file//THEMENAME/bonjour}" | |
done | |
find . -type f -print0 | xargs -0 sed -i "" "s/THEMETITLE/Bonjour/g" | |
find . -type f -print0 | xargs -0 sed -i "" "s/THEMENAME/bonjour/g" | |
renamer --regex --find '^(\d{2}).+\.mp3' --replace '$1kaz.mp3' */* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment