cleanout(1)

πŸ“¦ version 0.8.0, in nixpkgs unstable

cleanout(1) β€” General Commands Manual πŸ’…βœ¨

okay so bestie, this is the cleanout(1) page from the General Commands Manual β€” and it's literally all about cleaning out old profile generations. πŸŽ€

🌸 NAME 🌸

cleanout β€” Clean out old profile generations

✨ SYNOPSIS ✨

cleanout [-p|--preset] [-C|--config] [--keep-min] [--keep-max]
[--keep-newer] [--remove-older] [-g|--generation] [-n|--non-interactive]
[-i|--interactive] [--gc] [--gc-bigger] [--gc-quota] [--gc-modest]
[-d|--dry-run] [--no-size] [-h|--help] <PROFILES>

πŸ¦‹ DESCRIPTION πŸ¦‹

Clean out old profile generations. That's the mission, bestie. πŸ’–

The way that positive criteria (e.g. --keep-min, --keep-newer) are highkey prioritized over negative ones (e.g. --keep-max, --remove-older) β€” periodt. Passing 0 on any cleanout criterion will reset it to the default behavior.

The latest generation as well as the currently active one will not be removed, even if they match the specified criteria. No cap. If you want to delete those generations or the entire profile, you will have to do so manually. 😭

⚠️ Please beware of the risks of this operation and the impact it may have on your system state.. πŸ’€

πŸŽ€ OPTIONS πŸŽ€

  • -p, --preset <PRESET> [default: default] β€” settings for clean out criteria
  • -C, --config <CONFIG> β€” alternative config file
  • --keep-min <KEEP_MIN> β€” keep at least this many generations

Pass 0 to unset this option.

  • --keep-max <KEEP_MAX> β€” keep at most this many generations

Pass 0 to unset this option.

  • --keep-newer <KEEP_NEWER> β€” keep all generations newer than this many days

Pass 0 to unset this option.

  • --remove-older <REMOVE_OLDER> β€” discard all generations older than this many days

Pass 0 to unset this option.

  • -g, --generation <GENERATION> β€” remove these specific generations

You can pass the option multiple times to remove multiple generations.

  • -n, --non-interactive β€” do not ask before removing generations or running garbage collection
  • -i, --interactive β€” ask before removing generations or running garbage collection
  • --gc β€” run GC afterwards
  • --gc-bigger <GC_BIGGER> β€” only perform gc if the store is bigger than BIGGER Gibibytes
  • --gc-quota <GC_QUOTA> β€” only perform gc if the store uses more than QUOTA% of its device
  • --gc-modest β€” collect just as much garbage as to match --gc-bigger or --gc-quota
  • -d, --dry-run β€” list, but do not actually delete old generations
  • --no-size β€” do not calculate the size of generations
  • -h, --help β€” print help (see a summary with '-h')
  • <PROFILES> β€” profiles to clean out; valid values: system, user, home, <path_to_profile>

that's the cleanout(1) page from the General Commands Manual β€” no extra date/version stamp in the footer, bestie. mwah πŸ’–βœ¨

πŸ“¦ where this page comes from