d6o / gorganizer Goto Github PK
View Code? Open in Web Editor NEWOrganize your folders into a beautiful classified folder structure with this perfect tool
Home Page: https://disiqueira.github.io/Gorganizer/
License: MIT License
Organize your folders into a beautiful classified folder structure with this perfect tool
Home Page: https://disiqueira.github.io/Gorganizer/
License: MIT License
Hi, I've already commented on your reddit post as porkbonk.
Ideas for another way to store and query rules:
{
"Music": [
"mp3",
"wav"
],
"Archive": [
"7z",
"tar"
]
}
Music;mp3;wav
Archive;7z;tar
Otherwise YAML or TOML might be the most user friendly, but then you'd have an external dependency.
Instead of printing a simple log, it would be nice if the changes would be grouped by folder. Just like in the screenshot in the readme.
e.g.
Videos
a.mkv
b.avi
Documents
CV.doc
...
IMO it's way easier to read and see what's going on.
Is it available in the current version?
Extensions like .PDF
or .JPG
are not handled, would be cool to add support for them.
In ubuntu mate 16.04 , when i try install locally with $ go get github.com/DiSiqueira/Gorganizer, following error message is shown on terminal:
../.gvm/pkgsets/go1.10/global/src/github.com/DiSiqueira/Gorganizer/gorganizer.go:31:23: cannot use newFile (type gotree.GTStructure) as type *gotree.GTStructure in append
../.gvm/pkgsets/go1.10/global/src/github.com/DiSiqueira/Gorganizer/gorganizer.go:39:26: cannot use newFile (type gotree.GTStructure) as type *gotree.GTStructure in append
../.gvm/pkgsets/go1.10/global/src/github.com/DiSiqueira/Gorganizer/gorganizer.go:40:21: cannot use newFolder (type gotree.GTStructure) as type *gotree.GTStructure in append
../.gvm/pkgsets/go1.10/global/src/github.com/DiSiqueira/Gorganizer/gorganizer.go:114:18: cannot use tree (type gotree.GTStructure) as type *gotree.GTStructure in argument to gotree.PrintTree
../.gvm/pkgsets/go1.10/global/src/github.com/DiSiqueira/Gorganizer/ini.go:71:29: cannot use treeItem (type gotree.GTStructure) as type *gotree.GTStructure in append
../.gvm/pkgsets/go1.10/global/src/github.com/DiSiqueira/Gorganizer/ini.go:74:22: cannot use treeFolder (type gotree.GTStructure) as type *gotree.GTStructure in append
../.gvm/pkgsets/go1.10/global/src/github.com/DiSiqueira/Gorganizer/ini.go:78:18: cannot use tree (type gotree.GTStructure) as type *gotree.GTStructure in argument to gotree.PrintTree
v0.1's tarball doesn't contain any valid source code:
$ tree .
.
├── bin
│ └── gorganizer
├── gorganizer-logo.png
├── LICENSE
├── README.md
└── src
├── bolt.go
├── defaultdb.go
├── gorganizer.go
└── rules.go
2 directories, 8 files
which prevents me from packaging Gorganizer
for Gentoo/Linux, since I get :
can't load package: package github.com/DiSiqueira/Gorganizer: no buildable Go source files in /var/tmp/portage/dev-util/gorganizer-0.1/work/gopath/src/github.com/DiSiqueira/Gorganizer
For the moment I temporarily resolved by pulling in the HEAD of the repository instead of the tarball.
Please, meanwhile can you supply a proper tarball release with all the source codes? Thank you :)
p.s.: don't package Gorganizer's executable inside the tarball, it's considered a bad practise.
This way it'd be really easy too see what kind of rules you might be missing.
The default rules should be moved into a .txt
or .csv
file. This will allow normal users (i.e, non-developers) to add rules easily and still use Gorganizer :-)
Instead of a file in the current working directory, use a user-specific path.
e.g. $HOME/.gorganizer.json
, see os/user.User
If some folders are "special" and need other settings you could do it like this:
.gorganizer.json
and use it it only if it exists.$HOME/.gorganizer.json
as a default.That way you can have folder-specific settings if you want. Otherwise it's user-specific.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.