I'm not using the UKB platform, I'm just a general user.
To clarify, according to this article is possible to archive folders, but I only see code examples for files which is the normal case for me and I don't want to search for files to archive them. Would be good to have one single example command to archive the files in the folder.
Comments
3 comments
Do you mean using archive with DNAnexus functionality? That feature is not supported on UKB-RAP.
I'm not using the UKB platform, I'm just a general user.
To clarify, according to this article is possible to archive folders, but I only see code examples for files which is the normal case for me and I don't want to search for files to archive them. Would be good to have one single example command to archive the files in the folder.
You can archive the folder using the following command:
```bash
dx api project-x archive '{"folder":"/folder1", "recurse":true}'
```
More information on this can be found here:
https://documentation.dnanexus.com/developer/api/data-containers/projects#api-method-project-xxxx-archive
Please sign in to leave a comment.