Skip to content

A simple Go tool that helps you organize your files.

License

Notifications You must be signed in to change notification settings

iamcool0090/cleanDesktop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cleanDesktop

Note : Regrettably, Antiviruses mistakenly label my Go project as a virus, casting unwarranted doubt. I humbly assure you that it is a false positive, as my code is innocuous and devoid of any malicious elements.

cleanDesktop is a command-line tool written in Go that helps you organize files in a folder based on their extensions. It creates subfolders for each unique file extension and moves the corresponding files into their respective folders.

Installation

  1. Make sure you have Go installed on your system. If not, you can download and install it from the official Go website: https://golang.org

  2. Clone this repository to your local machine using the following command:

    git clone https://github.com/iamcool0090/cleanDesktop.git
  3. Change into the cloned directory:

    cd cleanDesktop
  4. Build the executable using the Go compiler:

    go build
  5. The file-organizer executable should now be available in the current directory. You can use it from the command line.

Usage

Run the executable with the desired command-line arguments:

 ./cleanDesktop.exe -dir /path/to/search/directory -root organized_files

Replace /path/to/search/directory with the path to the directory you want to organize. By default, the current directory will be used if no directory is specified.

The -root flag is optional and allows you to specify the root file name (name of the folder to store segregated files). By default, the root file name is set to organized_files.

Check the directory to see the organized files in their respective subfolders based on their extensions.

About

A simple Go tool that helps you organize your files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages