HDD space not updated after deletion of files

Execute the following commands in the Jupyter notebook.


:thinking: The issue occurs when one deletes the files using the delete icon from UI.
It gets loaded up in the trash and does not free up space :astonished:

Here is how you can delete your files permanently and free up space :relieved:

List the contents of Trash

(sorted in descending order of space occupied)

[[ -d $TRASH_DIR ]] &&  du -had 1 $TRASH_DIR | sort -hr || echo "No files in Trash"

Empty the trash:

:warning: Be careful while using this command. rm command will delete files and directories permanently.

!rm -r /mnt/disks/user/.Trash-1000/