## KernelDB.deduplicate_with_symlinks()


Replace duplicate files with symlinks to the canonical copy.


Usage

``` python
KernelDB.deduplicate_with_symlinks(dry_run=True)
```


The plan is the one [deduplicate_plan](KernelDB.deduplicate_plan.md#spice_kernel_db.KernelDB.deduplicate_plan) returns. With a console, each replacement and the space saved are printed.


## Parameters


`dry_run: bool = ``True`  
With `True` (the default) only print what would happen. Regular files are replaced only with `dry_run=False`.


## Returns


`list[dict]`  
The plan, as [deduplicate_plan](KernelDB.deduplicate_plan.md#spice_kernel_db.KernelDB.deduplicate_plan) returns it.
