---
name: "unsquashfs"
section: "8"
platform: "linux"
package: "squashfs-tools"
version: "1:3.1r2-6.1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/unsquashfs/8"
---

# unsquashfs(8)

## NOM

unsquashfs - Decompress and extract a Squash file system

## SYNOPSIS

**unsquashfs** \[**-v\[ersion\]**\]

**unsquashfs** \[**-l\[s\]** *list filesystem only*\]

**unsquashfs** *filesystem* *to\_extract* \[**options**\] \[**-i\[nfo\]**\] \[**-d\[est\]** *target*\] \[**-f\[force\]** \]

## DESCRIPTION

A squashfs is a compressed read-only file system. Use the **unsquashfs** program to decompress and extract a Squash file system without mounting it. **unsquashfs** is able to extract the entire file system or a specific file or directory.

**unsquashfs** only supports squashfs 3.0 file systems at the moment.

## OPTIONS

- **-v\[ersion\]**

  print version, licence and copyright message.

- **-i\[nfo\]**

  print files as they are unsquashed.

- **-l\[s\]**

  list filesystem only, doesn't decompress anything.

**-d\[est\]** *pathname*

decompress to *pathname*. This default to *squashfs-root*.

- **-f\[orce\]**

  if file already exists then overwrite.

## AUTHORS

Squashfs was written by Phillip Lougher \<plougher@users.sourceforge.net\>, in Chepstow, Wales, UK. If you like the program, or have any problems, then please email me, as it's nice to get feedback !

This manual page was written by Arnaud Fontaine \<arnaud@andesi.org\> for the Debian(TM) system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation.

On Debian systems, the complete text of the GNU General Public License can be found in */usr/share/common-licenses/GPL*.

## COPYRIGHT

Copyright © 2006 Arnaud Fontaine\
