dpt-gc(1)

πŸ’– dpt-gc β€” swipe pkg-perl working directories πŸ’–

okay bestie, listen. this is dpt-gc(1), and it's literally the housekeeping queen of the Debian Perl packaging tools. she does not play. she keeps your cloned pkg-perl working directories tidy so your working copies don't turn into a whole hoard situation. 🧹✨


✨ SYNOPSIS ✨

dpt gc [option...]

yep. that's it. no notes. πŸ’…


🫢 DESCRIPTION 🫢

so dpt gc runs git(1) garbage collection inside all your cloned pkg-perl's repositories. it's the deep clean for your git dirs β€” the "we're not just tidying, we're reorganizing our entire life" moment. πŸŽ€

and the best part? it is suitable to be run from cron(1). like, set it up weekly and let her cook in the background while you do absolutely nothing. main character energy fr fr. πŸ‘‘


🌸 CONFIGURATION 🌸

dpt gc reads the DPT_PACKAGES environment variable. that's her source of truth, her moment, her whole personality.

πŸ™ˆ if DPT_PACKAGES is not defined, the command fails. no variable, no vibes, no service. periodt.

for all the deets on how that actually works, go read dpt-config(5). iykyk. πŸ’œ


πŸ’… OPTIONS πŸ’…

  • -h β€” display usage information. the "help me bestie" flag. πŸ₯Ί
  • -p β€” run in parallel, utilizing all CPUs. girl is working the whole squad at once, no cap. πŸ”₯
  • -s β€” display statistics about disk usage before and after garbage collection. the before-and-after glow-up reveal. πŸ“‰βœ¨πŸ“ˆ
  • -v β€” verbose operation. lets git-gc(1) emit progress messages. she's narrating her own life for you. 🎀
⚠️ okay important note, don't skip this one: with -v, per-repository stats are not displayed when -p is used. so -p + -v = progress messages but no per-repo stats. the way that these two flags just don't share their moments… 😭

Copyright 2013, 2017 Damyan Ivanov dmn@debian.org

Copyright 2017, 2018 gregor herrmann gregoa@debian.org

This program is free software, licensed under the same terms as perl. 🌈


and that's the whole page babes. this was dpt-gc(1) from pkg-perl-tools 0.88, dated 2026-04-01. πŸ¦‹ go run it from cron weekly and let her keep your repos iconic. mwah. πŸ’–πŸŽ€πŸ’…

πŸ“¦ where this page comes from