Coder Social home page Coder Social logo

mehradevesh2022 / file-organizer Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 7.23 MB

The file organizer project arranges the local System files based on their extensions

Home Page: https://www.linkedin.com/posts/iam-devesh_project-nodejs-mernstackdeveloper-activity-6994243722292916224-IZYw?utm_source=share&utm_medium=member_desktop

JavaScript 100.00%
modules nodejs file-organiser fs-module path-module shebang

file-organizer's Introduction

File System Organizer

Introduction

File System Organizer is a convenient tool designed to help you manage and organize your files more effectively. If you find yourself dealing with a cluttered folder full of files without proper organization, this tool is here to help. It enables you to arrange files into specific directories based on their extensions, providing a clean and structured file management solution.

Features

  • Efficiently organizes files based on their extensions into appropriate directories.
  • Simplifies the process of arranging files for better file management.
  • Improves the overall organization and accessibility of your files.

How to Use

Tree

To view the tree structure of the files:

node main.js tree

Organize

  • To organize all files into their respective directories based on their file extensions:
node main.js organize "path"

Help

  • To display all available commands:
node main.js help

How to Use Globally

  • Add the Shebang syntax at the beginning of the main.js file: #!/usr/bin/env node
  • Initialize your project:
  npm init -y
  • Update the "bin" field in your package.json file:
   "bin": {
  "fs": "main.js"
}

  • Link the tool to make it globally accessible:
  npm link
  • Now you can use the tool globally:
  fs tree "path"
  fs organize "path"
  fs help

Note: File System Organizer simplifies the process of file organization, making it easier to manage and access your files efficiently.

file-organizer's People

Contributors

mehradevesh2022 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.