Step 8: Removing Data
Remove a Specific Data File
Remove a specific data file from the iRODS collection.
Remove file
- By now, you should be able to navigate to the file iris.data.
- Delete the file.

Remove the Entire Collection
Remove the entire iris_data collection and its contents.
Remove collection
Select the collection 'iris_data' and delete it.

Remove the trash
Now after removing the collection, see that your data is still in the trash folder:
List data trash
You can empty your trash by doing:
Remove trash
Navigate in trash folder and delete collections/folders.

Delete the contents of the folder WCDSacc/trash/home/abcde001/
To confirm, run:
You can use the path to your trash as an argument in the functions remove_coll() or remove_obj()
If you do not empty your trash, the irods instance might have a policy that deletes the files after a set period of time, but this is not by default enabled in all instances.
Skip trash
If you do not want your files to go to the trash, but if you want to delete them completely you can also use:
