Shar
|
- For the Forgotten Realms fictional goddess see Shar (goddess).
In the Unix operating system, shar is an abbreviation of SHell ARchive. A shell archive is a shell script, and executing it will recreate the files. Directories are not recreated. This is like a self extracting archive file. It can be created with the Unix 'shar' utility. To unarchive the files, only the standard Unix Bourne shell 'sh' is required. The shar format is now largely obsolete, having been replaced by the tar file format. GNU provides its own version of shar in the GNU Sharutils collection.