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
This implementation of par was written by Tim Gim Yee, firstname.lastname@example.org.
This program is copyright (c) Tim Gim Yee 1999.
This program is free and open software. You may use, modify, distribute, and sell this program (and any modified variants) in any way you wish, provided you do not restrict others from doing the same.