0.5.2 ā€¢ Published 3 years ago

node-file-structure v0.5.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Node File Structure

About

Node File Structure is a Node.js module that allows you to easily sort all your Files in a directory.

Installation

Node.js 16.6.0 or newer is required.

npm i node-file-structure

Example usage

Install all required dependencies:

npm i node-file-structure

How to use the Package:

Template

let structure = require('node-file-structure');
let Folder = ['FOLDER1', 'FOLDER2']; // You can add so much Folders as you want here! e.g. ['C:/Users/admin/Pictures', 'C:/Users/admin/Downloads']
structure.sortFolder(Folder); 

This moves all Files in Subfolders, see the graphic example below

Example (graphical)

Before:

šŸ“¦ path/to/specified-directory
 ā”£šŸ“œ file1.png
 ā”£šŸ“œ file2.exe
 ā”—šŸ“œ file3.jpg

After:

šŸ“¦ path/to/specified-directory
 ā”£šŸ“‚ .png
 ā”ƒ ā”—šŸ“œ file1.png
 ā”£šŸ“‚ .exe
 ā”ƒ ā”—šŸ“œ file2.exe
 ā”—šŸ“‚ .jpg
   ā”—šŸ“œ file2.jpg
 

Features

  • āœ… Sort by file extensions
  • āŒ Sort by file creation date

Links

Contributing

Before creating an issue, please ensure that it hasn't already been reported!

Help

If you do not understand something in the documentation, if you have problems or you need support, then do not hesitate to join the official Server.

0.5.2

3 years ago

0.5.1

3 years ago

0.5.0

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago

0.0.1

3 years ago