Categorygithub.com/pascalallen/file-organizer
modulepackage
2.0.0+incompatible
Repository: https://github.com/pascalallen/file-organizer.git
Documentation: pkg.go.dev

# README

File Organizer

GitHub go.mod Go version Go Report Card GitHub Workflow Status GitHub GitHub code size in bytes

A simple Go application that organizes files into directories based on their file extensions. It moves files with the same extension into respective folders (e.g., .txt files will go into a txt/ folder, .jpg files will go into a jpg/ folder, and so on).

Features

  • Organizes files based on their extensions.
  • Dynamically creates folders for each unique file extension.
  • Allows users to specify a directory to organize via command-line arguments.

Before

/path/to/your/directory/
├── document1.txt
├── image1.jpg
├── script.go
└── notes.txt

After

/path/to/your/directory/
├── go/
│   └── script.go
├── jpg/
│   └── image1.jpg
└── txt/
    ├── document1.txt
    └── notes.txt

Download(s)

You can download a precompiled version of the File Organizer for your operating system:

Usage

Once downloaded, you can run the program from the command line, specifying the directory you want to organize.

Linux/macOS:

./file-organizer-macos /path/to/your/directory

Windows

file-organizer-windows.exe C:\path\to\your\directory