ofarc(1)

πŸ“¦
version 1.5.7 Β· 3 versions
, in alpine 3.24, epel 10, epel 9, fedora 43, fedora 44, nixpkgs unstable, ubuntu stonking

πŸ’– 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 to tar, lha and zoo files. 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: -f forces and overwrites, -n refuses 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