Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 957 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 957 Bytes

fetch16c

Utilizes the 16colo.rs api to download art packs, un-archives only files with .ans, asc or .diz extensions and places them into pack folders, organized by year and 16Colo.rs spack name:

path
|-- year
    |--- packName
         |--- file.ans
         |--- file.asc
         |--- file.diz

BUILD:

Utilizes "Terminal progress bar for Go" for printing download progress in console.

  • clone this repo
  • go get .
  • go build .

USAGE:

REQUIRED FOR UN-ARCHIVING!

(install via apt, homebrew, windows, etc. )

  • .zip files require unzip to be installed ("unzip" is called).
  • .lzh files require lhasa to be installed ("lha" is called).

./fetch16c -years [number] -path [path/to/download]

Example: ./fetch16c -years 4 -path /home/robbiew/art would grab 4 years of packs from the current year and download to a local directory.

If you just want the current year's pack, use -years 1

Tested on Ubuntu 22.04.