Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Sorting Tool

A cross-platform Go utility that automatically organizes project directories based on their programming language or framework.

How it works

  1. Scans directories for .filesort files
  2. Reads the project type from each .filesort file
  3. Moves the project to an organized directory structure: ~/Coding/{language}/{projectName}

Setup

  1. Create a config.json file:
{
  "sortDir": "~/Coding",
  "acceptedLanguages": ["golang", "nextjs", "python", "javascript"]
}
  1. In each project directory, create a .filesort file:
type=golang

Usage

Install the right binary from the "Release" folder. Then run the binary:

./filesorting

Example

If you have a project in /tmp/my-go-project/ with a .filesort file containing type=golang, the tool will move it to ~/Coding/golang/my-go-project/.

Requirements

  • Go 1.24.4 or later
  • Write permissions to the target directory

About

an automatic folder sorter based on language or framework

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages