https://github.com/uberswe/zipdl
Zip Downloader downloads a zip file once or periodically and extracts the files at the specified path
https://github.com/uberswe/zipdl
downloader elder-scrolls-online golang zip
Last synced: 7 months ago
JSON representation
Zip Downloader downloads a zip file once or periodically and extracts the files at the specified path
- Host: GitHub
- URL: https://github.com/uberswe/zipdl
- Owner: uberswe
- License: mit
- Created: 2021-08-22T12:33:31.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-22T12:44:34.000Z (almost 5 years ago)
- Last Synced: 2024-12-28T14:28:36.466Z (over 1 year ago)
- Topics: downloader, elder-scrolls-online, golang, zip
- Language: Go
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Zip Downloader
Build like so
```bash
go build -o zipdl
```
to install this command add it to your PATH or copy it like so `sudo cp zipdl /usr/local/bin/`
The program takes three arguments
- `url` the url we want to download the zip from
- `path` the path where we want to store the unzipped files
- `interval` (optional) this causes the program to run forever and specifies how often we want to download and extract the files eg. `15m`, `6h`, `1d`, `1h30m`
I use this to download pricing data for Elder Scrolls Online for an addon called Tamriel Trade Center. I play on Linux so there are not a lot of solutions out there. Here is how I use it:
```bash
zipdl -path="/home/uberswe/.steam/steam/steamapps/compatdata/306130/pfx/drive_c/users/steamuser/My Documents/Elder Scrolls Online/live/AddOns/TamrielTradeCentre" -interval="6h" -url="https://eu.tamrieltradecentre.com/download/PriceTable"
```