compose-partial-copy(1)

πŸ“¦ version 0.1.51, in fedora 43, fedora 44

πŸ’… compose-partial-copy β€” the group chat's fave little copier ✨

okay so bestie, this is a page from the General Commands Manual (yes, the compose-partial-copy(1) one, section 1, we love a numbered section πŸ’–) and it's literally the tool you want when you need to yeet part of a compose somewhere else.


🌸 NAME 🌸

compose-partial-copy β€” copy part of compose to another location. that's it, that's the vibe πŸ¦‹


✨ SYNOPSIS ✨

compose-partial-copy [OPTIONS...]  COMPOSE DESTINATION

two positional besties: COMPOSE (the source) and DESTINATION (where it's going). and then your options, obviously πŸ’…


🫢 DESCRIPTION 🫢

so compose-partial-copy copies parts of compose to another location, and it does it via rsync. no cap. πŸŽ€

you get to pick which variants and/or architectures you want copied β€” you're the main character here, you decide. and ngl, it might run rsync multiple times to get you the exact result you asked for. multiple invocations, multiple slays. ✨

and here's the iconic part: any arguments it doesn't recognize? it just passes them directly to rsync. not me handing your weird flags straight through 😭 it's giving delegation.


πŸ‘‘ OPTIONS πŸ‘‘

  • -h, --help β€” prints the help and then dips. exit stage left, that's it πŸŽ€
  • --arch=ARCH β€” copy only this architecture. you can use this flag multiple times if you're feeling thorough, fr fr. any binary architecture is allowed, so go off. πŸ’…
but listen, this is the important part: if you want the source data (RPMs, ISOs, repositories etc.) copied too, you have to explicitly add --arch=src. it will not do it for you, it's not a mind reader. and if you specify no arch filter at all, then the variant as a whole gets copied β€” all binary and source content, the full package, the whole meal. πŸ“
  • --variant=VARIANT β€” copy only this variant. can be used multiple times, stack 'em up bestie πŸ¦‹
  • -n, --dry-run β€” only prints the rsync commands, does not copy anything. it's a vibe check, not a commitment πŸ™ˆ
cute little trick: you can append -- --dry-run at the end of the command line to pass the dry-run option to rsync instead. in that case, rsync will actually be called β€” it just prints some debugging information. so it runs, it just yaps. πŸ’€

⭐ EXIT CODE ⭐

this tool exits with status code 0 on success, and a non-zero value on failure. simple as that, periodt. πŸ’–


πŸ’€ BUGS πŸ’€

found a bug? please report bugs at https://pagure.io/compose-utils/issues β€” the maintainers wanna hear it, don't be shy 🫢


and that's the whole page, bestie!! this was compose-partial-copy(1) from the General Commands Manual β€” no version number or date was printed on it, just the page name hanging out at the bottom like the little icon it is. now go copy some compose πŸŒˆβœ¨πŸ‘‘

πŸ“¦ where this page comes from