andreafrancia / trash-cli

Command line interface to the freedesktop.org trashcan.
GNU General Public License v2.0
3.58k stars 179 forks source link

Permanently delete files and directories? #281

Closed mansoorbarri closed 1 year ago

mansoorbarri commented 1 year ago

is there a way to permanently delete files especially when I can't use rm since it's an alias for trash-cli

andreafrancia commented 1 year ago

In some shell like Bash you can prepend a back-slash to a command to temporarily disable the alias.

$ \rm file.txt
mansoorbarri commented 1 year ago

Works! thank you