{"id":21259910,"url":"https://github.com/cyberitas/io_utils","last_synced_at":"2026-02-12T11:42:33.945Z","repository":{"id":44330543,"uuid":"367159390","full_name":"Cyberitas/io_utils","owner":"Cyberitas","description":"Drupal Module: Adds advanced deep copy import/export support via JSON for Drupal Drush CLI","archived":false,"fork":false,"pushed_at":"2024-09-17T20:38:36.000Z","size":93,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-09-18T01:29:54.894Z","etag":null,"topics":["drupal","drupal-module"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cyberitas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-13T19:54:44.000Z","updated_at":"2024-08-29T00:39:14.000Z","dependencies_parsed_at":"2024-09-18T00:38:44.630Z","dependency_job_id":"e49ad7e1-1223-4b31-a21f-e0e8ceb64d74","html_url":"https://github.com/Cyberitas/io_utils","commit_stats":{"total_commits":21,"total_committers":2,"mean_commits":10.5,"dds":0.04761904761904767,"last_synced_commit":"fb39b9744bebfaac6a70a8ed5f055f6ef301dd52"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyberitas%2Fio_utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyberitas%2Fio_utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyberitas%2Fio_utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyberitas%2Fio_utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cyberitas","download_url":"https://codeload.github.com/Cyberitas/io_utils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225669421,"owners_count":17505387,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["drupal","drupal-module"],"created_at":"2024-11-21T04:15:52.765Z","updated_at":"2026-02-12T11:42:33.893Z","avatar_url":"https://github.com/Cyberitas.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drupal io_utils module\n\nThis module provides several utilities exposed via the \ndrush command line to import, export, and manipulate\nDrupal entities.\n\n## Installation\nThis module requires some composer based dependencies.\nFrom your drupal root run the following commands:\n\n    composer require cyberitas/io_utils\n    drush pm:enable -y io_utils\n\n\n## Search and Replace Usage\nSearch and replace uses regular expressions, allowing back\nreferences, to replace values in all published entities.\nIf the field-names option is omitted, it will search in\nall fields and replace in all supported field types.\n\n`\ndrush io-utils:replace \"/^foo-(.*)-baz$/\" \"bar-$1-baz\" --field-names body,field_example\n`\n\n## Export Usage\nCreates a file called \"drupal_post_17.json\" or rewrites it, \nand puts in a json representation of a Drupal entity with \nID  of 17, and the final 0 to allow exporting unpublished\nentities.\n\n`\nio-utils:export-one 17 /example/entity_17.json 0\n`\n\n## Import Usage\nReads a file called \"block-17.json\", and puts saved information \ninto a new Drupal block content\n\n`\nio-utils:import-one-block-content /example/entity_17.json\n`\n\n## Other\nThere are additional bulk operations, search operations,\nand services available for use. Refer to the drush command\nhelp for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyberitas%2Fio_utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyberitas%2Fio_utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyberitas%2Fio_utils/lists"}