Skip to content

Latest commit

 

History

History
93 lines (74 loc) · 2.47 KB

README.md

File metadata and controls

93 lines (74 loc) · 2.47 KB

Organizer CLI

organizer-github-preview

A CLI App that organizes files by their types and recognize Bing generated images and organize them in a folder.

Installation

  • Install via GO toolchain
    go install github.com/shtayeb/organizer@latest
  • Download Binary

Why?

My download folder was getting cluttered with alot of files and I was scrolling alot to find the file that I wanted. so I create this CLI app to organize my download folder priodically based on the file type of the files.

Demo

organizer-3-demo.mp4

Usage

  • Organize the Downloads directory once.

    organizer --path=/home/username/Downloads
  • Organize the working directory.

    organizer -d
    
    # or
    
    organizer --working-dir
  • Organize the Downloads directory and schedule the command.

    organizer --path=/home/username/Downloads --weekly
    organizer --path=/home/username/Downloads --monthly
  • Get help

    organizer -h
    A CLI app to organize your files into folders according to their extensions.
    
    Usage:
    organizer [flags]
    organizer [command]
    
    Available Commands:
    completion  Generate the autocompletion script for the specified shell
    help        Help about any command
    list        List all Organizer scheduled tasks.
    
    Flags:
    -h, --help          help for organizer
    -m, --monthly       Schedule the command monthly
    -p, --path string   Absolute path to the directory you want to organize. Default is working directory.
    -v, --version       version for organizer
    -w, --weekly        Schedule the command weekly
    -d, --working-dir   Organize working directory
    
    Use "organizer [command] --help" for more information about a command.
    ``
    

Logs

You can find the applicatin log file in the same directory as the app executable. The log file is named organizer-cli.log

Directories

  • AI Images
  • Images
  • Documents
  • Programs
  • Text Files
  • Compressed
  • Others

Contributing

You are free to create pull request for bug fixes and new features.

  • Clone the project
    git clone https://github.com/shtayeb/organizer.git
  • Build
    go build
  • Create pull request