- 🇮🇹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
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;}' {} \;
Active
3.0
Miscellaneous
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
on macos find web/sites/default/files/sync/ -type f -exec sed -i '' '/^uuid: /d' {} \;
resulted in:
sed: RE error: illegal byte sequence