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.
- 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.
To view the tree structure of the files:
node main.js tree
- To organize all files into their respective directories based on their file extensions:
node main.js organize "path"
- To display all available commands:
node main.js help
- 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.