Skip to content

A bash script that will create a new space and duplicate the content model from your reference space.

Notifications You must be signed in to change notification settings

contentful-labs/duplicate-space-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

duplicate-space-cli

A bash script that will create a new space and duplicate the content model from your reference space.

How to run

Clone the repo and edit contentful-duplicate.

Line 6: Replace the space id with your reference space id.

REFSPACEID=tr7e0exvc0vn

Save and close the file.

On the command line run the following command to make the script executable.

chmod +x ./contentful-duplicate

Now you can run the script using the following command:

./contentful-duplicate

About

A bash script that will create a new space and duplicate the content model from your reference space.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages