del-cli
Delete files and directories - Cross-platform
Last updated 10 months ago .
· Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install del-cli 
SYNC missed versions from official npm registry.

del-cli

Delete files and directories

Useful for use in build scripts and automated things.

Note that this does permanent deletion. See trash-cli for something safer.

Install

$ npm install --global del-cli

Usage

$ del --help

  Usage
    $ del <path|glob> …

  Options
    --force, -f    Allow deleting the current working directory and outside
    --dry-run, -d  List what would be deleted instead of deleting

  Examples
    $ del unicorn.png rainbow.png
    $ del "*.png" "!unicorn.png"

:warning: Windows users: Since $ del is already a builtin command on Windows, you need to use $ del-cli there.

Related

  • del - API for this module
  • trash-cli - Move files and directories to the trash
  • make-dir-cli - Make directories and their parents if needed

Current Tags

  • 4.0.1                                ...           latest (10 months ago)

12 Versions

  • 4.0.1                                ...           10 months ago
  • 4.0.0                                ...           a year ago
  • 3.0.1                                ...           2 years ago
  • 3.0.0                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
  • 0.2.1                                ...           5 years ago
  • 0.2.0                                ...           6 years ago
  • 0.1.2                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
Maintainers (1)
Dependencies (2)
Dev Dependencies (4)

Copyright © npmmirror.com | 浙ICP备15033595号-63 |