README ¶
Gorganizer
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
- Create an issue to discuss about your idea
- [Fork it] (https://github.com/DiSiqueira/Gorganizer/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- 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 ¶
There is no documentation for this package.