Skip to content
This repository has been archived by the owner on Aug 17, 2020. It is now read-only.
/ trasher Public archive

Yet another bash script to trash files from command line

License

Notifications You must be signed in to change notification settings

moonburnt/trasher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Because sometimes you need smol bash script to trash useless files from command line... only to realise later that gio already provide such functionality...

Dependencies:

  • coreutils
  • bash
  • sed
  • jq (for urlencoding. And no, self-written sed rules arent enough for that purpose, since they wont deal with non-latin symbols)

Limitations:

  • Its not a complete trash management solution. The only thing, this script does - is, well, send files to trash bin with matching .trashinfo data for further restoration.
  • For now, expected trash bin's location is limited to $HOME/.local/share/Trash, meaning that if you are trying to trash files from different partitions - they will be moved to partition with $HOME on it. I will try to do something about that later. Maybe.

About

Yet another bash script to trash files from command line

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages