unar
Verified for current stable LTS
Unar Command: Extract Archive To Specified Directory
Use for extract archive to specified directory with Unar. Exact CLI syntax to extract archive to specified directory using Unar.
When to use this: Use for extract archive to specified directory with Unar.
Command Syntax
unar -o <path/to/directory> <path/to/archive> unar -o <path/to/directory> <path/to/archive> Live Command Builder
Final Command
unar -o <path/to/directory> <path/to/archive> Command Breakdown
-o- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to extract archive to specified directory using Unar.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Unar Command: Extract Archive Current Directory
unar <path/to/archive> Unar Command: Force Overwrite Existing Files unar -f <path/to/archive> Unar Command: Force Rename Existing Files unar -r <path/to/archive> Unar Command: Force Skip Existing Files unar -s <path/to/archive> Cpio Command: Copy Files To Archive Cpio Binary echo "<path/to/file1 path/to/file2 ...>" | cpio -o > <archive.cpio> Alternative Approaches
Alternative tools for similar operation intents.
Tar Command: Extract Files Matching A Pattern From An Archive File
tar xf <path/to/source.tar> --wildcards "<*.html>" 7z Command: Extract Archive Preserve Directory Structure 7z x <path/to/archive.7z> 7za Command: Extract Archive Preserving Original Structure 7za x <path/to/archive.7z> 7zr Command: Extract An Archive To Stdout 7zr x <path/to/archive.7z> -so Cpio Command: Extract Files From Archive Cpio Verbose cpio < <archive.cpio> -idv