uuid, _core (default_config_hash)

Created on 2 January 2021, almost 4 years ago
Updated 5 May 2023, over 1 year ago

Option to remove all of the UUIDs and _core (default_config_hash) from your config files so that they don't conflict with those of new sites:

find /path/to/PROFILE_NAME/config/install/ -type f -exec sed -i -e '/^uuid: /d' {} \;
find /path/to/PROFILE_NAME/config/install/ -type f -exec sed -i -e '/_core:/,+1d' {} \;

In case you are on Mac OSX, the '-e' flag won't work. It duplicates the files and appends '-e' to the file (i.e. file-name.yml-e). The ",+1d" also will not work on Mac OSX:

find /path/to/PROFILE_NAME/config/install/ -type f -exec sed -i '' '/^uuid: /d' {} \;
find /path/to/PROFILE_NAME/config/install/ -type f -exec sed -i '' '/_core:/{N;d;}' {} \;

Feature request
Status

Active

Version

3.0

Component

Miscellaneous

Created by

🇨🇿Czech Republic hop

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇹Italy kopeboy Milan

    on macos find web/sites/default/files/sync/ -type f -exec sed -i '' '/^uuid: /d' {} \;
    resulted in:
    sed: RE error: illegal byte sequence

Production build 0.71.5 2024