Created
December 22, 2017 09:26
-
-
Save vermauv/6efee33bab96d3e68d6fa7ed97c073dd to your computer and use it in GitHub Desktop.
This gist removes uuid from the config files exported by drupal config workflow, used when you want to deploy same config to multisites
This file contains 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
#!/bin/bash | |
FILES=config/default/sync/* | |
for f in $FILES | |
do | |
echo "Processing $f file..." | |
sed -i '' '/^uuid:/d' $f | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment