Bla
This commit is contained in:
parent
e90e7b5e0a
commit
6466d56f42
1 changed files with 8 additions and 1 deletions
|
@ -37,7 +37,14 @@ generations, e.g.,
|
|||
<screen>
|
||||
$ nix-env --delete-generations 10 11 14</screen>
|
||||
|
||||
</para>
|
||||
To delete all generations older than a specified number of days
|
||||
(except the current generation), use the <literal>d</literal>
|
||||
suffix. For example,
|
||||
|
||||
<screen>
|
||||
$ nix-env --delete-generations 14d</screen>
|
||||
|
||||
deletes all generations older than two weeks.</para>
|
||||
|
||||
<para>After removing appropriate old generations you can run the
|
||||
garbage collector as follows:
|
||||
|
|
Loading…
Reference in a new issue