Gorganizer

command module
v0.0.0-...-6896f20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2018 License: MIT Imports: 10 Imported by: 0

README

Gorganizer

Gorganizer Language Badge Go Report License Badge Status Badge

Gorganizer is a Go program inspired by Bhrigu Srivastava Classifier Project.

The Gorganizer's goal is to be a perfect tool providing a stupidly easy-to-use and fast program to organize your files based on its extension.

Project Status

Gorganizer is on beta. Pull Requests are welcome

Features

  • MORE THAN 60 DEFAULT EXTENSIONS!!!
  • It's perfect to organize your DOWNLOADS FOLDER
  • Instantly organize your files
  • CUSTOMIZE to your needs
  • EASY to add rules
  • Easy to delete default rules
  • STUPIDLY EASY TO USE
  • Very fast start up and response time
  • Uses native libs
  • Option to organize your files
  • Preview changes before moving
  • Language support (English, Portuguese and Turkish)

Installation

Option 1: Go Get
$ go get github.com/DiSiqueira/Gorganizer
$ Gorganizer -h
Option 2: From source
$ go get gopkg.in/ini.v1
$ git clone https://github.com/DiSiqueira/Gorganizer.git
$ cd Gorganizer/
$ go build *.go

Usage

Basic usage
# Organize your current directory
$ ./gorganizer
Only preview, do not make change
# Prints a preview, but do not move
$ ./gorganizer -preview=true
Recursive mode
$ ./gorganizer -recursive
Do not organize specific files
# Exclude .pdf and .docx files
$ ./gorganizer -exclude="pdf,docx"

### Specify language (Default: en)

# Set language to Turkish
$ ./gorganizer -language=tr
Add new rule
# Add .py to Python folder
$ ./gorganizer -newrule=py:Python
Delete existing rule
# Delete txt rule
$ ./gorganizer -delrule=txt
Print all rules
# Print all rules
$ ./gorganizer -allrules=true
Move organized files to another folder
# Run in current directory and move organized files to ~/Downloads
$ ./gorganizer -output=~/Downloads
Run in other directory
# Run in ~/Downloads
$ ./gorganizer -directory=~/Downloads
Run in other directory and send organized files to a organized one
# Run in ~/Downloads
$ ./gorganizer -directory=~/Downloads -output=~/Documents
Show help
$ ./gorganizer -h

Program Help

Contributing

Bug Reports & Feature Requests

Please use the issue tracker to report any bugs or file feature requests.

Developing

PRs are welcome. To begin developing, do this:

$ go get gopkg.in/ini.v1
$ git clone --recursive git@github.com:DiSiqueira/Gorganizer.git
$ cd Gorganizer/
$ go run *.go

Social Coding

  1. Create an issue to discuss about your idea
  2. [Fork it] (https://github.com/DiSiqueira/Gorganizer/fork)
  3. Create your feature branch (git checkout -b my-new-feature)
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create a new Pull Request
  7. Profit! ✅

License

The MIT License (MIT)

Copyright (c) 2013-2017 Diego Siqueira

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL