1.0.4 • Published 8 years ago

bmv v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
8 years ago

bmv (batch mv)

Moves a batch of files/directories to different destinations.

Example

const bmv = require("bmv");

bmv.move([
    // move to a different directory
    ['test.md', 'testing/test.md'],
    // move back
    ['test1.md', '../test1.md'],
    // move a directory
    ['test', 'testing/test']
]);

API

#### move( array[ [sourceFile, destFile] ] )

Params: array

Pass through an array of move tasks, which hold both a sourceFile as the first item, then a destFile as the last item.

bmv.move([
    ['test1.md', '../test1.md']
]);
1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago