Skip to content

Instantly share code, notes, and snippets.

@vermauv
Created December 22, 2017 09:26
Show Gist options
  • Save vermauv/6efee33bab96d3e68d6fa7ed97c073dd to your computer and use it in GitHub Desktop.
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
#!/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