plougher / squashfs-tools

tools to create and extract Squashfs filesystems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

update docs for `-force`

lucaudill opened this issue · comments

I was recently working on a feature that uses unsquashfs (conversation here), and ran into some confusion over the -force option. The option is documented as overwriting existing files, but I found that in the case where it is combined with -d and the destination exists but is empty, the archive is unpacked to the directory without overwriting. This may be an edge case, but I think documenting this behavior would be helpful.