Skip to content

jorystewart/trashman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trashman is a cross-platform CLI tool for managing the Recycle Bin on Windows and Trash on Linux.


Trashman requires the .NET 8 runtime.

On Linux, Trashman conforms to the FreeDesktop trash standard found here: https://specifications.freedesktop.org/trash-spec/trashspec-latest.html


trashman delete moves files and/or directories to Recycle Bin/Trash. It accepts both absolute and relative paths and supports globbing. It is recursive by default.

trashman restore restores files and/or directories from Recycle Bin/Trash to their original locations. It supports the wildcard character *

trashman list lists all files and directories currently in Recycle Bin/Trash.

trashman purge permanently deletes files and/or directories in Recycle Bin/Trash. It supports the wildcard character *

trashman empty permanently deletes all files and directories in Recycle Bin/Trash.