trash - Move files and folders to the trash

  •        14

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.

https://github.com/sindresorhus/trash

Dependencies:

escape-string-applescript : ^2.0.0
fs-extra : ^0.30.0
globby : ^7.1.1
p-try : ^1.0.0
pify : ^3.0.0
run-applescript : ^3.0.0
uuid : ^3.1.0
xdg-trashdir : ^2.1.1

Tags
Implementation
License
Platform

   




Related Projects

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.

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.

grunt-contrib-clean - Clear files and folders.

  •    Javascript

This plugin was designed to work with Grunt 0.4.x. If you're still using grunt v0.3.x it's strongly recommended that you upgrade, but in case you can't please use v0.3.2. Run this task with the grunt clean command.

Tags

  •    AppleScript

Extend your Finder with tags, to find your files in multiple ways.

sortphotos - SortPhotos is a Python script that organizes photos and videos into folders using date/time information

  •    Perl

SortPhotos is a Python script that organizes photos into folders by date and/or time (year, year/month, year/month/day, or other custom formats). If you're like me then your growing collection of files are contained in a bunch of folders, some with a date like "Sep 2010", and others which names like "Camping Trip". SortPhotos takes this collection of folders and files and reorganizes them into a hierarchy of folders by almost any custom date/time format (by default it is by year then month). It will work with any file, but works best with image and video files that contain EXIF or other metadata formats because that stays with the file even if the files are modified. The script is also useful for transferring files from your camera into your collection of nicely organized photos. The simplest usage is to specify a source directory (the directory where your mess of files is currently located) and a destination directory (where you want the files and directories to go). By default the source directory it is not searched recursively but that can changed with a flag as discussed below.


FCFileManager - iOS File Manager on top of NSFileManager for simplifying files management.

  •    Objective-C

iOS File Manager on top of NSFileManager for simplifying files management. It provides many static methods for executing most common operations with few lines of code. It works by default in the Documents directory to allow use of relative paths, but it's possible to work easily on any other directory. Copy FCFileManager.h and FCFileManager.m to your project.

node-fs-extra - Node.js: extra methods for the fs object like copy(), remove(), mkdirs()

  •    Javascript

fs-extra adds file system methods that aren't included in the native fs module and adds promise support to the fs methods. It should be a drop in replacement for fs.I got tired of including mkdirp, rimraf, and ncp in most of my projects.

DropIt

  •    AutoIt

A flexible tool to automate processing amp; organizing files and folders.

trash - Minimalistic Go vendored code manager

  •    Go

Keeping the trash in your ./vendor dir to a minimum.Make sure you're using go1.6 or later version.

deadsimple-less-watch-compiler - A nodejs script that allows you to watch a folder for changes and compile the less css files into another folder

  •    Javascript

A command that watches folders(and subfolders) for file changes and automatically compile the less css files into css. This is a file system watcher and compiler. It also keep track of a dependency tree and recompiles the parent if an imported (child) LESS file is changed. Install LESS and make sure the lessc binary is accessible to the script. Installing LESS with the -g(global) flag will make the binary accessible to your system.

pure - A set of small, responsive CSS modules that you can use in every web project.

  •    HTML

Now, all Pure CSS files should be built into the `pure/build/` directory. Allfiles that are in this build directory are also available on the CDN. The namingconventions of the files in the `build/` directory follow these rules:* `[module]-core.css`: The minimal set of styles, ususally structural, that provide the base on which the rest of the module's styles build.* `[module]-nr.css`: Rollup of `[module]-core.css` + `[module].css` + `[module]-[feature].css` from the `src/[module]/` dir. This i

FilExile

  •    C++

Simple program intended to delete and remove stubborn directories and files that cannot be removed by other means either because the path is too long, the name is invalid, or any of other errors that can be incurred upon file or directory deletion.

Easily move folders across volumes/partitions.

  •    

Folder Mover enables a user to move folders/directories between different volumes/partitions. The .Net System.IO.Directory.Move throws an IOException when trying to move folders across volumes/partitions. It's developed in C#.Net 3.5 & works with network shares as well

SmartWatcher

  •    

SmartWatcher is a simple windows service designed to watch a specific directories and taking specific actions to: Create - Change - Rename - Delete files events

RakNet - RakNet is a cross platform, open source, C++ networking engine for game programmers.

  •    C

------------------------------------------ See Help\swigtutorial.html Upgrading from version 3 ------------------------------------------ See 3.x_to_4.x_upgrade.txt Windows users (Visual Studio 2008 and 2010) ----------------------------------------- Load RakNet_VS2008.sln and convert if necessary.After the project conversion, if you encounter error MSB4006,follow the steps below to fix it:1. Open project properties2. Click on "Common Properties"3. Click on "Framework and References"4. Look

Dynamics CRM 4.0 Recycle Bin

  •    

This add-on for Microsoft Dynamics CRM 4.0 to enable Recycle Bin Features (Restore, Permenant Delete) for CRM users.

rimraf - A `rm -rf` util for nodejs

  •    Javascript

The UNIX command rm -rf for node.Install with npm install rimraf, or just drop rimraf.js somewhere.

trash-cli - Command line interface to the freedesktop.org trashcan.

  •    Python

trash-cli trashes files recording the original path, deletion date, and permissions. It uses the same trashcan used by KDE, GNOME, and XFCE, but you can invoke it from the command line (and scripts).

SysIcon

  •    CSharp

SysIcon is a tool to change most of the Windows Shell Icons (e.g. unknown files, exe files, folders, drives, networks, recycle bin) easily. It is possible to save all changed icons to a library and load the icons from it again, even on any other mach

FileExplorer - FileExplorer is a powerful iOS file browser that allows its users to choose and remove files and/or directories

  •    Swift

👷 Project created and maintained by Rafał Augustyniak. You can find me on twitter (@RaAugustyniak). FileExplorer is a control designed to provide an easy way to browse and interact with local file system on iOS devices. It works as file browser with additional possibility of deleting specified files and/or directories and possibility to choose files and/or directories.