Skip to content
Snippets Groups Projects
Select Git revision
  • main
1 result

deletefolder

  • Clone with SSH
  • Clone with HTTPS
  • Nicole Parks's avatar
    Nicole Parks authored
    4bcb7ef4
    History

    Delete Folder in Coscine

    This project includes a short python script to delete folders from a Coscine resource.

    It requires a Coscine API Token which you can create under your Coscine user profile. Enter this in a .env file in the same folder as the script, such that:

    COS_TOKEN=MYTOKEN

    Replace the placholders with the appropriate information before running the

    Install any missing packages with your preferred method, such as pip, e.g., pip install coscine, pip install python.dotenv.