shar
Verified for current stable LTS
Shar Command: Create Shell Archive
Use for create shell archive with Shar. Exact CLI syntax to create shell archive using Shar.
When to use this: Use for create shell archive with Shar.
Command Syntax
shar <path/to/file1 path/to/file2 ...> > <path/to/archive.sh> shar <path/to/file1 path/to/file2 ...> > <path/to/archive.sh> Live Command Builder
Final Command
shar <path/to/file1 path/to/file2 ...> > <path/to/archive.sh> Command Breakdown
shar is the base executable for this command.
FAQ
Purpose: Exact syntax to create shell archive using Shar.
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
Shar Command: Compress Archive Files
shar -C <xz> <path/to/file1 path/to/file2 ...> > <path/to/archive.sh> Shar Command: Create Shell Archive Default shar -V <path/to/file1 path/to/file2 ...> > <path/to/archive.sh> Shar Command: Include Name And Cut Mark In Archive shar -n "<My files>" -c <path/to/file1 path/to/file2 ...> > <path/to/archive.sh> Shar Command: Treat Files As Binary shar -B <path/to/file1 path/to/file2 ...> > <path/to/archive.sh> Shar Command: Treat Files As Text shar -T <path/to/file1 path/to/file2 ...> > <path/to/archive.sh>