My personal preferences, with regard commands already provided my the system. Is to compare the results to those provided by Perl modules, and the likes. I have personally found that in the case of (tar|gzip)
tar, two things; 1.) a system call to
tar is quicker (asuming your routine is efficient). 2.) LZMA, which may depend on your systems implementation, on average, provides a 30% better compression rate. In the second point; this won't
necessarily speed up your process, except to the extent that
unlinking them will be quicker. In case you're interested; my options given to
tar are
tar -cvJ --options xz:9 -f <filename>.tar.xz <directory||filename>
You will probably not have a use for the
v switch, except to the extent that it will help with "debugging" possible errors.
HTH
--Chris
Hey. I'm not completely useless. I can be used as a bad example.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.