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

del-cli Build Status

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'

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

  • 2.0.0                                ...           latest (a month ago)

8 Versions

  • 2.0.0                                ...           a month ago
  • 1.1.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.2.1                                ...           3 years ago
  • 0.2.0                                ...           3 years ago
  • 0.1.2                                ...           4 years ago
  • 0.1.1                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 35
This Week 88
This Month 559
Last Day 23
Last Week 169
Last Month 773
Dependencies (2)
Dev Dependencies (4)
Dependents (118)

Copyright 2014 - 2016 © taobao.org |