https://github.com/rabilrbl/downloads-organizer
Organizes your downloads folder
https://github.com/rabilrbl/downloads-organizer
downloads go golang
Last synced: about 1 month ago
JSON representation
Organizes your downloads folder
- Host: GitHub
- URL: https://github.com/rabilrbl/downloads-organizer
- Owner: rabilrbl
- Created: 2022-05-21T08:49:50.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-30T07:10:14.000Z (over 1 year ago)
- Last Synced: 2025-04-12T08:09:51.009Z (6 months ago)
- Topics: downloads, go, golang
- Language: Go
- Homepage:
- Size: 46.9 KB
- Stars: 14
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Downloads-Organizer
Organizes your download folder based on their type and extensions.
***If there is a file with unspecified extension, Downloads-Organizer will automatically create a new sub folder for the extension under Others. All future files with same extension will be saved under the same folder.***
- Documents
- Text Files
- Pictures
- Music
- Videos
- Compressed
- Programs
- Others
- Other extension folders
- files without extensions
- Folders
- All folders
## Usage
> ### Set the environment variable `SORT_FOLDER_DESTINATION` to download destination folder and `SORT_FOLDER_SLEEP_MINUTES=720` to set sleep minutes to check download folder again in your operating system and run the executable file from releases or compile with `go build main.go`## Instructions to run the executables from releases
- ### Windows
- Make sure you have set environment variables as shown above in USAGE
- Open file expolorer and navigate to `%appdata%\Microsoft\Windows\Start Menu\Programs\Startup`
- paste the downloaded file in this folder
- now Downloads-Organizer will start automatically on every boot
- ### Linux
- Type `sudo nano /lib/systemd/system/downloads-organizer.service`
- Paste following content in the file. Replace ``
```
[Unit]
Description=Sorts the downloads folder[Service]
ExecStart=[Install]
WantedBy=multi-user.target
```
- Type `sudo systemctl edit downloads-organizer.service`
- Paste following content in the file. Replace ``
```
[Service]
Environment="SORT_FOLDER_DESTINATION="
Environment="SORT_FOLDER_SLEEP_MINUTES=720"
```
- Run `sudo systemctl enable downloads-organizer.service`
- Then `sudo systemctl start downloads-organizer.service`
- To verify if the downloads organizer is runnung
- Run `sudo systemctl status downloads-organizer.service`
- It will show Active as seen below
---
### If your finding difficulty in setting up feel free to create an [issue](https://github.com/rabilrbl/Downloads-Organizer/issues)
---