{"id":17921407,"url":"https://github.com/gotson/comics-utils","last_synced_at":"2025-10-09T22:47:25.214Z","repository":{"id":15669545,"uuid":"18406976","full_name":"gotson/comics-utils","owner":"gotson","description":"Scripts to manage my digital comics collection","archived":false,"fork":false,"pushed_at":"2018-01-16T14:37:43.000Z","size":88,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-05T07:46:23.942Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gotson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-03T14:57:43.000Z","updated_at":"2021-11-30T07:24:15.000Z","dependencies_parsed_at":"2022-08-28T00:11:34.921Z","dependency_job_id":null,"html_url":"https://github.com/gotson/comics-utils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gotson/comics-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotson%2Fcomics-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotson%2Fcomics-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotson%2Fcomics-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotson%2Fcomics-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gotson","download_url":"https://codeload.github.com/gotson/comics-utils/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotson%2Fcomics-utils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002115,"owners_count":26083307,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-28T20:33:43.372Z","updated_at":"2025-10-09T22:47:25.197Z","avatar_url":"https://github.com/gotson.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"comics-utils\n============\n\nScripts to manage my digital comics collection.\n\ncbz.py\n------\nCBZ utility can be used on both archives, to cleanup existing cbz/cbr/cb7, and folders, to create a new cbz archive.\nFolders are processed recursively to find folders containing files, but archives inside a processed folder won't be cleaned up.\nOptions include:\n - preserving OSX tags (for archives only)\n - flatten the directory structure (same as -j option on zip)\n - rename files using natural sort\n\nThanks to The Unarchiver, you can also process **PDF files** for cleanup !\n\n**Requires**\n * Python 2.7+\n * [jdberry/tag](https://github.com/jdberry/tag) (if using the --tags option) (`brew install tag`)\n * [natsort](https://pypi.python.org/pypi/natsort) (`pip install natsort`)\n * [The Unarchiver command line tools](http://unarchiver.c3.cx/commandline) (`brew install unar`)\n \n\n**Usage**\n```\nusage: cbz.py [-h] [-t] [-r] [-f] [-d DESTINATION] infiles [infiles ...]\n\nCBZ utility\n\npositional arguments:\n  infiles\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -t, --tags            Preserve OSX tags (uses\n                        https://github.com/jdberry/tag)\n  -r, --rename          Rename files using natural sort\n  -f, --flatten         Flatten archive by removing folder structure\n  -d DESTINATION, --destination DESTINATION\n                        Destination for processed files. If unspecified\n                        working directory is used instead\n```\n\n**OSX Automator**\n\nYou can hook up the scripts using Automator to have a right-click action:\n![alt tag](https://raw.githubusercontent.com/gotson/comics-utils/master/wiki/cbz-as-service.png)\n\nYou can also configure it as a folder action, to automatically perform post-processing for instance:\n![alt tag](https://raw.githubusercontent.com/gotson/comics-utils/master/wiki/cbz-as-folderaction.png)\n\n\nsync-folder.py\n--------------\nUse OSX tags to create a replica of your directory structure for easy synchronization with any third party tool or cloud provider.\nFolders have to be tagged `sync` (works on parent folders as well).\nFiles tagged `read` are ignored.\n\nYou have to edit the source code to change the source and destination folders.\n\n**Requires**\n * Python 2.7+\n * [jdberry/tag](https://github.com/jdberry/tag)\n\n**Usage**\n```\n\u003e python sync-folder.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgotson%2Fcomics-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgotson%2Fcomics-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgotson%2Fcomics-utils/lists"}