Displaying 1 to 20 from 20 results

trash - Move files and folders to the trash

  •    Javascript

Works on macOS, Linux, and Windows.In contrast to fs.unlink, del, and rimraf which permanently delete files, this only moves them to the trash, which is much safer and reversible.

del - Delete files and directories

  •    Javascript

Similar to rimraf, but with a Promise API and support for multiple files and globbing. It also protects you against deleting the current working directory and above.Support this project and improve your JavaScript skills with this great ES6 course by Wes Bos. Try his free JavaScript 30 course for a taste of what to expect. You might also like his React and Sublime course.

trash-cli - Move files and folders to the trash

  •    Javascript

Works on macOS, Linux, and Windows.In contrast to rm which is dangerous and permanently delete files, this only moves them to the trash, which is much safer and reversible. I would also recommend reading my guide on safeguarding rm.

trash - macOS command line tool to move files to trash

  •    Swift

trash is command-line tool for macOS, written in Swift, that moves files to the current user's trash folder. trash is released under the terms of the MIT license.




empty-trash - Empty the trash

  •    Javascript

Works on macOS, Linux, and Windows.On macOS, AppleScript is used as it's the only way to do it without incurring permission issues.

osx-trash.el - Make Emacs' delete-by-moving-to-trash do what you expect it to do on OS X.

  •    Emacs

Make delete-by-moving-to-trash do what you expect it to do on OS X. For whatever reason GNU Emacs doesn’t support the system trash can on OS X. Instead it’ll move files into the freedesktop.org trash can, which is, uhm, not particularly useful behaviour on OS X.


SnapTools - Tools to integrate the macOS window environment and command line interface

  •    Objective-C

SnapTools is a collection of tools that integrate aspects of the macOS GUI with the UNIX command line interface. Together, they make interaction between the window environment and command line a great deal easier.

rmtrash - Put files (and directories) in trash using the `trash-put` command in a way that is, otherwise as `trash-put` itself, compatible to GNUs `rm` and `rmdir`

  •    Shell

Put files (and directories) in trash using the trash-put command in a way that is, otherwise as trash-put itself, compatible to GNUs rm and rmdir. Click here for more information about trash-cli.

xdg-trashdir - Get the correct trash path on Linux

  •    Javascript

Returns a Promise that resolves the path to the trash. Get the trash path for a specific file.

gomi - Trash can in CLI

  •    Go

The concept of the trashcan does not exist in Command-line interface (CLI). If you have deleted an important file by mistake with the rm command, it would be difficult to restore. Then, it's this gomi. Unlike rm command, it is possible to easily restore deleted files because gomi have the trashcan for the CLI. It is also possible to work with trashcan for Graphical user interface (GUI). *1 gomi means a trash in Japanese.

junkMail - List all of fake, junk or abuse domain for mail

  •    DIGITAL

To add Domain, make pull request ! Just add empty file on domains/ folder with name of domain include extension.

xcode-trash-remover - Remove (trash) files that Xcode generates 🗑

  •    Ruby

This is a simple script to remove Xcode's trash files that are generated under development. $ xcclean to check your directories.

wastebasket - A crossplatform go wrapper library for moving files to the trashbin

  •    Go

Wastebasket is a go library allowing you to move files into your trashbin. The only dependency is PowerShell, which is installed by default. This will change at some point, as I am planning to reimplement the functionallity using the win32 api.

trashss - Trash screenshots in OS X

  •    Javascript

This will trash any screenshots in your Desktop. The match for this module is simple: it's just Screen Shot*.