{"id":19602617,"url":"https://github.com/wang-bin/qop","last_synced_at":"2025-10-11T21:10:19.568Z","repository":{"id":141348929,"uuid":"2006127","full_name":"wang-bin/qop","owner":"wang-bin","description":"Qt Output Parser for tar, zip, unzip, unrar, 7z with a compression/extraction progress indicator. Support platforms: windows(Qt4), Linux(Qt4, tested on ubuntu 10.04), motorola ezx(Qt2, tested on ROKR E6) and Maemo5 etc.","archived":false,"fork":false,"pushed_at":"2012-12-20T01:32:23.000Z","size":676,"stargazers_count":20,"open_issues_count":1,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-05T01:51:15.582Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://sourceforge.net/projects/qop/","language":"C++","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/wang-bin.png","metadata":{"files":{"readme":"README","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":"2011-07-06T11:43:59.000Z","updated_at":"2024-11-06T18:01:24.000Z","dependencies_parsed_at":"2023-03-13T10:34:04.889Z","dependency_job_id":null,"html_url":"https://github.com/wang-bin/qop","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/wang-bin/qop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang-bin%2Fqop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang-bin%2Fqop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang-bin%2Fqop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang-bin%2Fqop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wang-bin","download_url":"https://codeload.github.com/wang-bin/qop/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang-bin%2Fqop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279008731,"owners_count":26084494,"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-11T02:00:06.511Z","response_time":55,"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-11-11T09:25:08.056Z","updated_at":"2025-10-11T21:10:19.547Z","avatar_url":"https://github.com/wang-bin.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"Auther: Wang Bin (aka nukin in ccomve \u0026 novesky in motorolafans)\r\nShanghai university, China\r\n2010-09-09\r\nwbsecg1@gmail.com\r\nOther links:\thttp://sourceforge.net/projects/qop/files\r\n\t\t\t\thttp://qt-apps.org/content/show.php/qop?content=132430\r\n\r\nQt Output Parser for tar, zip, unzip, unrar, 7z with a compression/extraction progress indicator.\r\nSupport platforms: windows(Qt4), Linux(Qt4, tested on ubuntu 10.04), motorola ezx(Qt2, tested on ROKR E6) and Maemo5 etc.\r\n\r\nbug: can't kill 7z in windows.\r\n\r\nUsage: qop [-interval=Nunit] [--all] [-t parserFor] [-n|s] [-chm] [-x archieve|-T totalSteps] [files...]\r\n\r\n-a, --all: update all changes. default is update on timer event\r\n-F, --time-format=fmt: setup time format. utc(iso8601) or normal\r\n-m, --multi-thread: create a new thread to calculate progress bar's total steps.\r\n-i, --interval=Nunit: update the progress every N seconds/mseconds. unit can be s, sec[s],seconds(N can be float) or msec[s](N is int)\r\n-h, --help: help\r\n-n, --number: set number of files as total steps.\r\n-s, --size: set size of files as total steps. -s is default\r\n-T, --steps=STEPS: specify total steps.\r\n-t,  --parser[=TYPE]: usually is tool's name, such as tar, zip, unzip, unrar. If using xz, lzop etc with tar, parser is tar. -t tar is default.\r\nIf you want to extract a .tar or .tar.xxx file and set size as total steps, use -tuntar is better.\r\n-x, --exteact=ARCHIVE: extracting mode. Omit -T argument. Analyze parser and total steps automaticly.\r\n-o, --outdir=dir： set the output dir when using internal extract method(qop -d -x test.tar -o outdir)\r\n-c, --auto-close: auto close when finished\r\n-C, --cmd=command: execute command\r\n-d, --diy[=TARFILE]: using built-in method to extract an archive\r\n\r\nexamples:\r\n\tqop -C zip -ryv -9 test.zip test\r\n\tqop -C zip -ry -9 test.zip test\r\n\tqop -C unzip -o test.zip -d exdir\r\n\tqop -C unrar x -o+ -p- -y rar.rar destdir\r\n\tqop -C tar cvvf test.tar test\r\n\tqop -C tar zcvf test.tgz test\r\n\tqop -C tar zxvvf test.tgz -C /tmp   ##only 1 v will not show the right totalsteps and progress\r\n\tqop tar cvvf test.tar test\r\n\ttar zcvvf test.tgz test |qop test -m\r\n\ttar zxvvf test.tgz |qop -T `gzip -l test.tgz |sed -n '$s/\\(.*\\) \\(.*\\)  .*/\\2/p'` -tuntar -c\r\n\ttar zxvf test.tgz |qop -T `tar -zt \u003ctest.tgz |wc -l` -n  ##slower than former\r\n\r\n\ttar --use=xz -cvvf test.txz test |qop test -m -t tar\r\n\ttar --use=xz test.tar.xz |qop -T `tar --use=xz -t\u003ctest.tar.xz |wc -l` -n\r\n\r\n\tzip -ryv -9 -FS test.zip test |qop test -m -t zip\r\n\tunzip -o test.zip -d . |qop -T `unzip -Z -t test.zip |sed 's/\\(.*\\) files.*/\\1/'` -t unzip \u0026\r\n\tunrar x -o+ -y test.rar . |qop -t unrar\r\n\t7z x -y test.7z |qop -t7z -T $((`7z l test.7z |sed -n '$s/\\(.*\\), \\(.*\\)folders/\\2/p'`+`7z l test.7z |sed -n '$s/\\(.*\\) \\(.*\\)files.*/\\2/p'`))\r\n\r\nfor Version \u003e= 0.2.2, you can omit -n and -s\r\n\ttar zcvvf test.tgz test |qop test [-m]\r\n\ttar zcvf test.tgz test |qop test  ##no -m\r\n\r\nextracting a tar.gz file for new version(\u003e=0.1.0):\r\n\ttar zxvvf test.tar.gz |qop -x test.tar.gz\r\n\r\n\r\nHow To Compile:\r\n1.Desktop and Maemo: Just use QtCreator.\r\n2.EZX: Use tmake. Or use my configure script. Type\r\n./configure\r\nmake\r\nmake pkg\r\nMore information about configue script can be got by ./configure --help\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwang-bin%2Fqop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwang-bin%2Fqop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwang-bin%2Fqop/lists"}