fs-movedir

1.0.1 • Public • Published

fs-movedir

Move a directory into another directory.

Usage

const movedir = require('fs-movedir');
 
movedir('Spain 2016', 'holiday pics');
// move 'Spain 2016' into 'holiday pics'
 
movedir('myproject', 'javascript projects');
// move 'myproject' into 'javascript'

This will create the target directory if it doesn't exist.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i fs-movedir

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • jameskmonger