1 min read
I want to delete my uploaded folder and some file from the Google Colab. How I can delete these file or folder from google colab?
Vishal Sharma Changed status to publish September 24, 2020
1 min read
If you want to delete a single file specifically in google colab, Then try this command.
!rm file_name
e.g !rm image.jpg
Now check that It is removed or not by using the below command
!ls -al
If you want to delete the whole folder in google colab, then try this command.
!rm -rf <folder_name>
Hope so it would help you…
Vishal Sharma Posted new comment June 22, 2021


Vishal Sharma commented
you are welcome @vinay007 🙂
Thank you, it worked!