Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mehradevesh2022/file-organizer
The file organizer project arranges the local System files based on their extensions
https://github.com/mehradevesh2022/file-organizer
file-organiser fs-module modules nodejs path-module shebang
Last synced: 16 days ago
JSON representation
The file organizer project arranges the local System files based on their extensions
- Host: GitHub
- URL: https://github.com/mehradevesh2022/file-organizer
- Owner: MehraDevesh2022
- Created: 2022-10-13T05:49:55.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-09T13:37:59.000Z (about 1 year ago)
- Last Synced: 2024-10-03T20:41:47.138Z (about 1 month ago)
- Topics: file-organiser, fs-module, modules, nodejs, path-module, shebang
- Language: JavaScript
- Homepage: https://www.linkedin.com/posts/iam-devesh_project-nodejs-mernstackdeveloper-activity-6994243722292916224-IZYw?utm_source=share&utm_medium=member_desktop
- Size: 7.06 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# 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:
```bash
node main.js tree```
### Organize
- To organize all files into their respective directories based on their file extensions:
```bash
node main.js organize "path"```
### Help
- To display all available commands:
```bash
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:```bash
npm init -y```
- Update the "bin" field in your package.json file:
```bash
"bin": {
"fs": "main.js"
}```
- Link the tool to make it globally accessible:
```bash
npm link```
- Now you can use the tool globally:
```bash
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.