Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ayehia0/file-org
blazingly fast file org in go. (lol)
https://github.com/ayehia0/file-org
Last synced: about 1 month ago
JSON representation
blazingly fast file org in go. (lol)
- Host: GitHub
- URL: https://github.com/ayehia0/file-org
- Owner: AYehia0
- Created: 2023-01-01T14:14:46.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T13:27:53.000Z (almost 2 years ago)
- Last Synced: 2024-10-09T16:23:21.730Z (2 months ago)
- Language: Go
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# File-Org
The aim of this program is to learn go while also making a useful working CLI application that manages files the proper way.# How does it work ?
It's a very simple application, that takes 2 input `args`.
```
file-org /path/to/scanning/location .
```
- Scanning Location : the location where the messy files exist (ex, `"~/Downloads"`)
- Target Location : the location to organize the files in.It works by scanning for all the `files` in that scanning location then returns a `map` of all the files with extension types as keys.
If the extension name is in the list of wanted extensions, it's moved!# Installation
Make sure you have go installed.
```
go install github.com/AYehia/file-org@latest
```# TODO
- [x] Add Tests.
- [ ] Use structs.
- [ ] Remove some dependencies.
- [x] Make use of the really nice `vim-go` docs
- [ ] Log file with added files.# Resources
- [The Little Go Book](https://www.openmymind.net/The-Little-Go-Book/)
- [Rob's awesome-go](https://github.com/rwxrob/awesome-go)