This video demonstrates a Node.js command-line utility that I built as part of an internship assignment.
🔍 Problem Statement
Over time, my Downloads folder becomes cluttered with images, documents, videos, and other files, making it hard to find things quickly. Manually organizing files is time-consuming and repetitive.
💡 Solution
I created a CLI-based file organizer using Node.js standard libraries that:
Takes a folder path as input
Categorizes files based on their extensions
Automatically moves files into folders like Images, Documents, Videos, Audio, etc.
Works safely without prefetching or unnecessary memory usage
⚙️ Key Features
Built using Node.js (ES Modules)
Uses only standard libraries (fs, path)
Accepts folder path via command line
Converts relative paths to absolute paths
Handles errors gracefully
Simple, fast, and reusable
▶️ How It Works
User runs the command with a folder path
The program reads all files in the folder
Files are categorized based on extension
Category folders are created if needed
Files are moved into their respective folders
🧠 Design Decisions
Used synchronous file operations for simplicity and clarity
Stored only required data in memory
Focused on clean, readable code
CLI-based design to keep the tool lightweight and practical
📦 FOR Source Code
COMMENT
nodejs
node js project
nodejs project
javascript project
javascript cli tool
file organizer
file organizer using nodejs
file management system
command line tool
cli tool javascript
nodejs filesystem
fs module nodejs
path module nodejs
backend project
backend development
full stack developer internship
internship assignment
internshala assignment
software engineering project
coding project
programming project
open source project
github project
beginner nodejs project
nodejs for beginners
javascript for beginners
real world nodejs project
system automation tool
downloads folder organizer
file automation
developer tools
productivity tool
coding interview project
engineering student project
btech project
college mini project
#NodeJS
#JavaScript
#BackendDevelopment
#CLI
#Programming