john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

Rm replacement trash cli

Gnome (GUI) trash is usually in: ~/.local/share/Trash


sudo apt-get install trash-cli # save yourself the agony of rm ~, use trash

trash filename.txt

trash-list 2013-09-20 12:34:56 /tmp/filename.txt

restore-trash

trash-empty #remove all items from trash

weird, trash vs trash-put, trash-list vs list-trash, restore-trash vs trash-restore

more instructions on the internet about how to alias/replace rm entirely


  • « subprocess supress output errors devnull vmrun
  • For loop count functions ifs split string ip address »

Published

Sep 27, 2013

Category

linux

~53 words

Tags

  • cli 6
  • linux 249
  • replacement 1
  • rm 1
  • trash 1