ofarc(1)
π ofarc(1) π
okay so bestie, welcome to the ofarc page β it's from the General Commands Manual section, and it's literally about listing, extracting, creating and appending to archives. group chat summary: this tool does archive stuff and it does it well. β¨
πΈ NAME πΈ
ofarc β list, extract, create and append to archives π
π¦ SYNOPSIS π¦
ofarc [options] archive [file1 file2 ...]
β¨ DESCRIPTION β¨
so ofarc is a program to list, extract, create and append to archives. that's the whole vibe. one little binary, four whole moods. π
π OPTIONS π
-a,--appendβ append to archive. adding more stuff to the pile, slay. π«Ά--archive-comment=commentβ the archive comment to use when you're creating or appending. leave a lil note for future you. π-c,--createβ create archive. brand new archive, main character energy. π-C directory,--directory=directoryβ extract into the specified directory. put the stuff there specifically, not wherever. π-E encoding,--encoding=encodingβ the encoding (character set) used by the archive. heads up: this only applies totar,lhaandzoofiles. iykyk. π€-f,--forceβ force / overwrite files. no thoughts, just overwriting. π-h,--helpβ show the help. your bestie when you're lost. π--iriβ use an IRI to access the archive. yes, remotely. yes, iconic. π-l,--listβ list all files in the archive. window shopping, but for files. ποΈ-n,--no-clobberβ never overwrite files. protective. nurturing. we love her. π§-p,--printβ print one or more files from the archive. straight to stdout, no detours. π¨οΈ-q,--quietβ quiet mode: no output, except errors. shhhh. π€«-t type,--type=typeβ archive type. your choices are:gz,lha,tar,tgz,zip,zoo. pick your fighter. β-v,--verboseβ verbose output for file list. tell me everything. π£οΈ-x,--extractβ extract files. let them out, free them. π¦
π EXAMPLES π
extract all files in an archive:
ofarc -x archive.tar.gz
create a new archive with the directory foo and all its files:
ofarc -c foo.zip foo
list all files in an archive without downloading it:
ofarc --iri -l https://example.com/archive.lha
print file README in archive.tar.gz:
ofarc -p archive.tar.gz README
π reminder bestie:-fforces and overwrites,-nrefuses to overwrite. they are opposites and they are both valid. choose wisely, no cap.
that's the whole page, we ate and left no crumbs π the manual name is ofarc(1) and that's the footer vibe too β so yeah, that's it, love u, go archive something ππβ¨
π¦ where this page comes from
- alpine 3.24: objfw-doc 1.5.7-r0 Β· LGPL-3.0-only
- epel 10: ofarc 1.5.7-1.el10_3 Β· LGPL-3.0-only
- epel 9: ofarc 1.5.7-1.el9 Β· LGPL-3.0-only
- fedora 43: ofarc 1.5.7-1.fc43 Β· LGPL-3.0-only
- fedora 44: ofarc 1.5.7-1.fc44 Β· LGPL-3.0-only
- nixpkgs unstable: objfw 1.5.7
- ubuntu stonking: ofarc 1.5.7-1 Β· LGPL-3.0-only
- Copyright (c) 2008-2026 Jonathan Schleifer <js@nil.im>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms