shar(1) is a FreeBSD base system utility for creating shell archives that is, a kind of self-extracting archive of a hierarchy of files and directories. The archive will recreate the file hierarchy specified at creation time. It is fast and the result is easy to handle as the shell archive is a text file (good to email a file hierarchy).
To create a shell archive:
$ shar `find my_directory` > my_hierarchy.shar
To recreate the hierarchy:
$ sh my_hierarchy.shar
shar is a simpler version of