Skip to content

Yaseen-Naik/File-Organizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

File Organizer

File Organizer is a Node.js script designed to organize files within a specified directory based on their file extension. It creates separate folders for each file type and moves corresponding files into their respective folders.

Features

  • Automatic File Organization: Move files into folders based on their file extensions.
  • Error Handling: Handles errors such as directory creation failure and file reading failure.

Getting Started

Prerequisites

  • Node.js installed on your system.

Installation

  1. Clone the repository:

     git clone https://github.com/Yaseen-Naik/File-Organizer.git
    
  2. Navigate to the project directory:

    cd file-organizer
    

Usage

  1. Run the File-organiser to create an empty folder named "Organise Files"

    node organizeFiles.js
  2. Copy all the files you want to sort to the folder just created

  3. Run the File-organiser again to sort the files present in the "Organise Files" Folder

    node organizeFiles.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published