del-half
v1.0.0
Published
Delete half files in a directory
Downloads
3
Maintainers
Readme
del-half
Delete half of files in directories and sub-directories
Installation
npm install del-half --save
CLI
npm install del-half -g
Usage
$ dhalf <src>
Options
--type odd or even <default : odd>
Examples
dhalf "**/*.png"
dhalf "**/*.png" --type even
Options
Node Usage
dhalf(src,options,callback)
Example
var dhalf = require('del-half');
// full options
dhalf(src,{
type:'even'
},function(err,data){
});
Why ?
- Cut frames of an animation by half.
License
MIT