par - create a Perl archive of files
par [-s submitter] [-STBqvz] file [files...]
par creates a Perl archive of the files on the command line. The Perl archive is a Perl script, and executing it will recreate the files. If any of the files include a path, directories in that path will also be recreated. If any of the files is a directory, the contents of that directory will be archived.
par automatically determines if files are text or binary unless -B or -T is used.
All files are binary. Encode files with uuencode. uudecode will be required to recover the files.
Read standard input for files, one file per line, as though they were included on the command line. For example:
find . -name 'chapter[1-9].txt' -print | par -S > story.par
All files are text. No encoding necessary.
- -s submitter
Use submitter for the email address included in the par header.
Print version info and exit.
Mimic shar. Create a shell archive instead of a Perl archive.
Renaming or linking par to
shar will cause it to create shell scripts:
ln par shar shar moogle.txt > moogle.shar
shar, unpar, uuencode
Tim Gim Yee | email@example.com | I want a moogle stuffy!
Copyright (c) 1999 Moogle Stuffy Software. All rights reserved.
You may play with this software in accordance with the Perl Artistic License.