del

File and directory cleaner

Deletes files and directories using glob patterns with support for promises, multiple files, and protection against deleting the current working directory.

Delete files and directories

GitHub

1k stars
20 watching
66 forks
Language: JavaScript
last commit: about 2 months ago
Linked from 2 awesome lists


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
sindresorhus/del-cli A utility for permanently deleting files and directories with optional safety features. 315
sindresorhus/filenamify Converts a string to a valid filename by replacing reserved characters and truncating long names. 489
sindresorhus/empty-trash A utility script that empties the system trash on various operating systems 131
sindresorhus/empty-trash-cli A utility that empties the system trash on macOS, Linux, and Windows. 134
sindresorhus/trash-cli A utility that moves files and folders to the trash rather than permanently deleting them. 1,329
sindresorhus/make-dir Creates directories and their parents if needed 474
sindresorhus/find-up A utility library for finding files or directories by walking up parent directories 582
sindresorhus/find-up-cli A utility for finding files by walking up parent directories 39
sindresorhus/gulp-strip-debug Removes console statements from JavaScript code to strip debugging information 251
sindresorhus/strip-indent Removes redundant indentation from a string by finding the minimum leading whitespace across all lines. 135
sindresorhus/move-file Moves files across devices and partitions without relying on system-specific rename functions. 198
sindresorhus/clear-cli A utility script to clear the terminal screen on various platforms. 44
sindresorhus/cpy Copies files from source to destination based on glob patterns and options 424
symphorien/nix-du A tool to help manage and clean up Nix store by visualizing dependencies and identifying roots to delete 388
sindresorhus/file-type-cli Detects the type of file or input provided 74