ccdc06 / tidy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tidy

This is a tool to check for missing and unknown .cbz files inside the directories of my torrent releases.

For the tool to work, the directories must be kept with their original names as listed here.

Demo run

For a directory like this:

D:\galleries\
    koharu.to_14001-15000\
        [Amasora Taichi] Rocker Girl Strapped for Cash.renamed.cbz
        [Asano Yomichi] Blue Curaçao (Comic Bavel 2024-07).cbz
        [Ayakawa Riku] Eyeing the Hot Elf in Another World 6.cbz
        [Ayane] Aki Is Thinking.cbz
        [Ayane] Let's Have a Honeymoon.cbz
        (...)

(note that the first file was renamed to .renamed.cbz to test for both removals and additions)

The program works like this:

Demo run

And leaves the directories like this:

D:\galleries\
    koharu.to_14001-15000\
        [Asano Yomichi] Blue Curaçao (Comic Bavel 2024-07).cbz
        [Ayakawa Riku] Eyeing the Hot Elf in Another World 6.cbz
        [Ayane] Aki Is Thinking.cbz
        [Ayane] Let's Have a Honeymoon.cbz
        (...)
D:\extra\
    koharu.to_14001-15000\
        [Amasora Taichi] Rocker Girl Strapped for Cash.renamed.cbz

Precompiled binaries

Each release includes precompiled binaries for Windows, Linux, MacOS for both amd64 and arm64 architectures.

Alternatively, if you have a go environment properly configured, you can run the latest version of the tool with:

go run github.com/ccdc06/tidy@master

About


Languages

Language:Go 100.0%