Skip to content

Don't traverse symlinks and junctions. #532

Closed
@Squall-Leonhart

Description

@Squall-Leonhart

When adding a folder to process for compressibility, the statistics include content from symlinked and junctioned sub folders which skews the compressibility results if those locations already are Compacted, despite other content in the folder not being.

The LNK file system object should just be skipped over instead of traversed and passed its target contents into the processing list.

For reference, Compactor and Compact.exe do not factor the target size of these objects into results, and do not traverse off volume to compact either, I have confirmed this with other tools such as wofcompress, and a skyrim SE modded instlation which has junctioned and symlinked files, the target is never affected so it should not be factored into the results.

Doing so is also reliably crashing CompactGUI as mentioned in a previous bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions