---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# shar

> Create a shell archive.
> More information: <https://manned.org/shar>.

- Create a shell script that when executed extracts the given files from itself:

`shar {{path/to/file1 path/to/file2 ...}} > {{path/to/archive.sh}}`
