Files
cheatsheet-tldr/tldr/linux/uncompress
2025-12-01 00:25:28 +00:00

26 lines
694 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# uncompress
> Uncompress files compressed using the Unix `compress` command.
> More information: <https://manned.org/uncompress>.
- Uncompress specific files:
`uncompress {{path/to/file1.Z path/to/file2.Z ...}}`
- Uncompress specific files while ignoring non-existent ones:
`uncompress -f {{path/to/file1.Z path/to/file2.Z ...}}`
- Write to `stdout` (no files are changed and no `.Z` files are created):
`uncompress -c {{path/to/file1.Z path/to/file2.Z ...}}`
- Verbose mode (write to `stderr` about percentage reduction or expansion):
`uncompress -v {{path/to/file1.Z path/to/file2.Z ...}}`