because rm -rf is dangerous...
because rm -rf is dangerous…
Developers instinctively use rm -rf and as we all know this cannot be reversed.
This is a small bash script which will just create folder called ~/.utrash and move your file / folder
to that location instead of deleting it.
Delete stuff later with caution
Just do the following:
curl https://raw.githubusercontent.com/aksh-4793/utrash/master/utrash.sh >> /usr/bin/utrash
Now type:
utrash
and you should be good to go