The .yml files in your export directory (sites/default/files/cohesion_sync/) will be deleted and replaced with the package config and files. (yes/no) [yes]:
>
To always delete files by default, the following flags can be used: --yes or -y
To always cancel command instead of deleting files, the following flag can be used: --no
Here's the example output of specific package export (using package id) and specific path with confirmation flag:
$ drush sitestudio:package:export --package=pack_blog_feature --path=sites/default/files/sync/pack_blog_feature/ -yExported 64 config and 14 non-config files.
Here's the example output of full package export with default path as specified in Site Studio $settings['site_studio_sync'] with prompt that asks user to confirm deletion existing package files before export:
$ drush sitestudio:package:export
The .yml files in your export directory (sites/default/files/cohesion_sync/) will be deleted and replaced with the package config and files. (yes/no) [yes]:
> yesExported 285 config and 12 non-config files.
Here's the example of site_studio_package_files.json that contains 2 files, one image in .png format and one .ttf file:
{
"file:file:f912fea9-fd41-4f12-bee2-90f6a27219bf": {
"fid": "4",
"uuid": "f912fea9-fd41-4f12-bee2-90f6a27219bf",
"langcode": "en",
"filename": "image_1.png",
"uri": "public:\/\/image_1.png",
"filemime": "image\/png",
"filesize": "4594",
"status": "1",
"created": "1634141175",
"changed": "1634141175"
},
"file:file:b9129c1a-6416-4106-bd67-c0dea5dfda9a": {
"fid": "290",
"uuid": "b9129c1a-6416-4106-bd67-c0dea5dfda9a",
"langcode": "en",
"filename": "icomoon.ttf",
"uri": "public:\/\/cohesion\/icomoon.ttf",
"filemime": "application\/octet-stream",
"filesize": "184196",
"status": "1",
"created": "1594199557",
"changed": "1594199557"
}
}
The legacy package management methods described below will be removed in a future version of Site Studio.
drush sync:export - Exports all Site Studio configuration to the sync folder as a single .yml_ file.
drush sync:export --filename-prefix=myfilenamehere - Exports all Site Studio configuration to the sync folder as a single .yml_ file with a custom file name rather than using the websites name.
If this content did not answer your questions, try searching or contacting our support team for further assistance.
The .yml files in your export directory (sites/default/files/cohesion_sync/) will be deleted and replaced with the package config and files. (yes/no) [yes]:
>
To always delete files by default, the following flags can be used: --yes or -y
To always cancel command instead of deleting files, the following flag can be used: --no
Here's the example output of specific package export (using package id) and specific path with confirmation flag:
$ drush sitestudio:package:export --package=pack_blog_feature --path=sites/default/files/sync/pack_blog_feature/ -yExported 64 config and 14 non-config files.
Here's the example output of full package export with default path as specified in Site Studio $settings['site_studio_sync'] with prompt that asks user to confirm deletion existing package files before export:
$ drush sitestudio:package:export
The .yml files in your export directory (sites/default/files/cohesion_sync/) will be deleted and replaced with the package config and files. (yes/no) [yes]:
> yesExported 285 config and 12 non-config files.
Here's the example of site_studio_package_files.json that contains 2 files, one image in .png format and one .ttf file:
{
"file:file:f912fea9-fd41-4f12-bee2-90f6a27219bf": {
"fid": "4",
"uuid": "f912fea9-fd41-4f12-bee2-90f6a27219bf",
"langcode": "en",
"filename": "image_1.png",
"uri": "public:\/\/image_1.png",
"filemime": "image\/png",
"filesize": "4594",
"status": "1",
"created": "1634141175",
"changed": "1634141175"
},
"file:file:b9129c1a-6416-4106-bd67-c0dea5dfda9a": {
"fid": "290",
"uuid": "b9129c1a-6416-4106-bd67-c0dea5dfda9a",
"langcode": "en",
"filename": "icomoon.ttf",
"uri": "public:\/\/cohesion\/icomoon.ttf",
"filemime": "application\/octet-stream",
"filesize": "184196",
"status": "1",
"created": "1594199557",
"changed": "1594199557"
}
}
The legacy package management methods described below will be removed in a future version of Site Studio.
drush sync:export - Exports all Site Studio configuration to the sync folder as a single .yml_ file.
drush sync:export --filename-prefix=myfilenamehere - Exports all Site Studio configuration to the sync folder as a single .yml_ file with a custom file name rather than using the websites name.
If this content did not answer your questions, try searching or contacting our support team for further assistance.