snippetbashTip
shar — Create a shell archive. More information: <https://manned.org/shar>.
Viewed 0 times
createshellcommandcliinformationshararchivemore
Problem
How to use the
shar command: Create a shell archive. More information: <https://manned.org/shar>.Solution
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}}Code Snippets
Create a shell script that when executed extracts the given files from itself
shar {{path/to/file1 path/to/file2 ...}} > {{path/to/archive.sh}}Context
tldr-pages: common/shar
Revisions (0)
No revisions yet.