EMAR(1)

πŸ’– EMAR πŸ’–

okay bestie, gather round, because this is emar β€” the emscripten archiver for WASM and JavaScript, and it's basically doing the same job as ar or llvm-ar but for our web-assembly girlies. same manual page name (EMAR(1)), same energy, way more sparkle. πŸ’…


✨ NAME ✨

emar β€” emscripten archiver for WASM and JavaScript like ar or llvm-ar πŸ¦‹


πŸŽ€ DESCRIPTION πŸŽ€

πŸ‘‘ OVERVIEW

LLVM Archiver. that's it, that's the vibe. no cap.


🫢 USAGE

okay so this is the shape of every call, and you gotta respect the shape:

llvm-ar-21 [options] [-]<operation>[modifiers] [relpos] [count] <archive> [files]

and then there's this whole other mode where you feed it an MRI script through stdin:

llvm-ar-21 -M [< mri-script]

like, iconic. she contains multitudes. ✨


πŸ“ OPTIONS

one bullet per flag because we do not skip, we do not summarise, we list all of them fr fr πŸŽ€

  • --format β€” which archive format you wanna create, bestie. pick your fighter:
    • =default β€” default πŸ’œ
    • =gnu β€” gnu
    • =darwin β€” darwin
    • =bsd β€” bsd
    • =bigarchive β€” big archive (AIX OS) β€” yeah it got big, good for her 🌸
    • =coff β€” coff
  • --plugin=<string> β€” ignored for compatibility. she's just there for the vibes, she doesn't do anything. it's giving "group project member who did nothing" 😭
  • -h, --help β€” display this help and exit. the classic. πŸ’…
  • --output β€” the directory to extract archive members to πŸ“
  • --rsp-quoting β€” quoting style for response files. window dressing, choose your dialect:
    • =posix β€” posix
    • =windows β€” windows
  • --thin β€” create a thin archive πŸ¦‹ (she's ✨slender✨)
  • --version β€” print the version and exit
  • -X{32|64|32_64|any} β€” object mode (only for AIX OS) πŸ‘‘
  • @<file> β€” read options from <file> πŸ“„

🌈 OPERATIONS

every archive needs a main character moment and that's this single letter. here's the whole cast:

  • d β€” delete [files] from the archive πŸ’€
  • m β€” move [files] in the archive 🚚
  • p β€” print contents of [files] found in the archive πŸ–¨οΈ
  • q β€” quick append [files] to the archive ⚑
  • r β€” replace or insert [files] into the archive πŸ”
  • s β€” act as ranlib 🧚
  • t β€” display list of files in archive πŸ“œ
  • x β€” extract [files] from the archive πŸ“€

🧚 MODIFIERS

sprinkle these onto your operation like glitter, bestie. they change the whole mood ✨

  • [a] β€” put [files] after [relpos] ➑️
  • [b] β€” put [files] before [relpos] (same as [i]) ⬅️
  • [c] β€” do not warn if archive had to be created 🀫
  • [D] β€” use zero for timestamps and uids/gids (default) πŸ•›
  • [h] β€” display this help and exit
  • [i] β€” put [files] before [relpos] (same as [b]) ⬅️
  • [l] β€” ignored for compatibility. again just vibes, no function πŸ™ˆ
  • [L] β€” add archive's contents
  • [N] β€” use instance [count] of name πŸ”’
  • [o] β€” preserve original dates πŸ“…
  • [O] β€” display member offsets πŸ“
  • [P] β€” use full names when matching (implied for thin archives) πŸ”
  • [s] β€” create an archive index (cf. ranlib) πŸ—‚οΈ
  • [S] β€” do not build a symbol table 🚫
  • [T] β€” deprecated, use --thin instead. she's retiring bestie, let her go 😭
  • [u] β€” update only [files] newer than archive contents πŸ†•
  • [U] β€” use actual timestamps and uids/gids ⏰
  • [v] β€” be verbose about actions taken πŸ—£οΈ
  • [V] β€” display the version and exit

πŸ’– friendly reminder bestie: [D] (zeroed timestamps/uids/gids) is the default, and if you want the actual ones you reach for [U]. also [T] is deprecated β€” use --thin instead, no cap. πŸ™

and that's the whole page, you ate that. this was emar, version 6.0.5+dfsg+~1.41.5, coming to you from August 2026 β€” go forth and archive, my love, ily πŸ«Άβœ¨πŸ’œ

πŸ“¦ where this page comes from