An open API service indexing awesome lists of open source software.

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.

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