Skip to content

xunicatt/trash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trash

A small, predictable trash utility written in Zig. trash moves files and directories into a .trash directory instead of deleting them immediately, providing a simple safety layer over destructive operations.

Features

  • Initialize a .trash directory
  • Move files/directories to trash
  • Restore items from trash
  • Permanently delete selected items
  • Empty entire trash
  • List trashed items

Install System Wide

sudo zig build --prefix /usr/local -Doptimize=ReleaseSafe
trash --help

About

safe rm alternative

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages