https://github.com/webcaetano/del-half
Node CLI for delete half files.
https://github.com/webcaetano/del-half
animation cli delete files frames node utils
Last synced: 7 months ago
JSON representation
Node CLI for delete half files.
- Host: GitHub
- URL: https://github.com/webcaetano/del-half
- Owner: webcaetano
- License: mit
- Created: 2017-05-19T20:15:34.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-23T19:45:15.000Z (over 8 years ago)
- Last Synced: 2025-01-31T13:18:39.707Z (12 months ago)
- Topics: animation, cli, delete, files, frames, node, utils
- Language: JavaScript
- Size: 114 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# del-half
[![NPM version][npm-image]][npm-url]
[![Build status][travis-image]][travis-url]
> Delete half of files in directories and sub-directories
## Installation
```
npm install del-half --save
```
## CLI
```
npm install del-half -g
```
```
Usage
$ dhalf
Options
--type odd or even
Examples
dhalf "**/*.png"
dhalf "**/*.png" --type even
```
## Options
Option
Description
Default
type
Odd or Even
Odd
## Node Usage
```
dhalf(src,options,callback)
```
## Example
```javascript
var dhalf = require('del-half');
// full options
dhalf(src,{
type:'even'
},function(err,data){
});
```
## Why ?
- Cut frames of an animation by half.
## License
MIT
[npm-image]: https://img.shields.io/npm/v/del-half.svg?style=flat-square
[npm-url]: https://npmjs.org/package/del-half
[travis-image]: https://img.shields.io/travis/webcaetano/del-half.svg?style=flat-square
[travis-url]: https://travis-ci.org/webcaetano/del-half