aboutsummaryrefslogtreecommitdiff
path: root/renrot
diff options
context:
space:
mode:
authorAndy Shevchenko <andy@smile.org.ua>2012-07-28 15:42:50 +0000
committerAndy Shevchenko <andy@smile.org.ua>2012-07-28 15:42:50 +0000
commitd2dd2085024b382ee60c3fbdff8effcddda1d408 (patch)
tree8dad30d5e0f9428b258b6481309ac3db281a77df /renrot
parent5df75c0863c2d7516746be25309cd1e9045f3d2e (diff)
downloadrenrot-d2dd2085024b382ee60c3fbdff8effcddda1d408.tar.gz
renrot-d2dd2085024b382ee60c3fbdff8effcddda1d408.tar.bz2
doc: use perldoc for quick help
The recipe is borrowed from the exiftool script. Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> git-svn-id: file:///svnroot/renrot/trunk@613 fe2816f4-e837-0410-b10a-f608c9d244a1
Diffstat (limited to 'renrot')
-rwxr-xr-xrenrot80
1 files changed, 18 insertions, 62 deletions
diff --git a/renrot b/renrot
index 17c8bd9..3fbbf31 100755
--- a/renrot
+++ b/renrot
@@ -1577,3 +1577,12 @@ sub rotateThumbnail {
1577sub usage { 1577sub usage {
1578 infomsg ( 1578 # catch warnings if we have problems running perldoc
1579 my $evalWarning;
1580 local $SIG{'__WARN__'} = sub { $evalWarning = $_[0] };
1581 my $dummy = \*SAVEERR; # avoid "used only once" warning
1582 unless ($^O eq 'os2') {
1583 open SAVEERR, ">&STDERR";
1584 open STDERR, '>/dev/null';
1585 }
1586 if (system('perldoc', $0)) {
1587 infomsg (
1579"Usage: renrot <--extension EXTENSION> [--quiet] [--no-rotate] [--no-rename] 1588"Usage: renrot <--extension EXTENSION> [--quiet] [--no-rotate] [--no-rename]
@@ -1585,5 +1594,2 @@ Options:
1585 -d, --work-directory <DIR> set working directory 1594 -d, --work-directory <DIR> set working directory
1586 --exclude <FILE> ... files exclude from processing; no wildcards
1587 --sub-fileset <FILE> read names of the files to be processed from
1588 FILE
1589 -e, --extension <EXTENSION> extension of files to process: JPG, jpeg, ... 1595 -e, --extension <EXTENSION> extension of files to process: JPG, jpeg, ...
@@ -1592,8 +1598,2 @@ Renaming options:
1592 -n, --name-template <TPL> filename template (see manual for details) 1598 -n, --name-template <TPL> filename template (see manual for details)
1593 --no-rename do not rename files (default is to rename)
1594 --counter-fixed-field (*) set fixed field width for counter (used in
1595 templates)
1596 --counter-start <NUMBER> start value for the counter of renamed files
1597 --counter-step <NUMBER> increment value for the counter of renamed
1598 files
1599 1599
@@ -1603,5 +1603,2 @@ Rotating options:
1603 --rotate-thumb <ANGLE> rotate only thumbnails by 90, 180, 270 1603 --rotate-thumb <ANGLE> rotate only thumbnails by 90, 180, 270
1604 --only-orientation change Orientation tag (no real rotation)
1605 --no-rotate do not rotate (default is to rotate)
1606 --trim (*) pass -trim to jpegtran
1607 --mtime (*) set file mtime according to DateTimeOriginal 1604 --mtime (*) set file mtime according to DateTimeOriginal
@@ -1609,52 +1606,3 @@ Rotating options:
1609 1606
1610Keywordizing options:
1611 --keywords (*) set Keywords tag
1612 --keywords-replace (*) replace Keywords tag rather than add values to
1613 it
1614 -k, --keywords-file <FILE> read keywords from FILE
1615
1616Aggregating options:
1617 --aggr-mode <MODE> run aggregation (MODE: none, delta, template)
1618 --aggr-delta <INTERVAL> aggregation time delta
1619 --aggr-directory <DIR> aggregation directory name
1620 -a, --aggr-template <TPL> aggregation template (see manual for details)
1621 --aggr-virtual (*) virtual aggregation (symlinks instead of files)
1622
1623Contact Sheet options (CS):
1624 --cs (*) create the CS
1625 --cs-tile <MxN> tile in montage
1626 --cs-title set title of the montage
1627 --cs-file <FILE> name of the montage files
1628 --cs-dir <DIR> temporary montage DIR
1629 --cs-thm montage files are thumbnails
1630 --cs-bg <COLOR> background color (IM: -background)
1631 --cs-bd <COLOR> border color (IM: -bordercolor)
1632 --cs-mt <COLOR> frame color (IM: -mattecolor)
1633 --cs-fn <STRING> text render font (IM: -font)
1634 --cs-fl <COLOR> color to fill the text (IM: -fill)
1635 --cs-lb <STRING> image label (IM: -label)
1636 --cs-fr <NUMBER> thickness of border (IM: -frame)
1637 --cs-pntsz <NUMBER> font point size (IM: -pointsize)
1638 --cs-shadow set shadow (IM: -shadow)
1639 --cs-thm-fl <STRING> generated thumbnail text fill color
1640 --cs-thm-fn <STRING> generated thumbnail font
1641 --cs-thm-grfr <COLOR> generated thumbnail background gradient
1642 COLOR-from
1643 --cs-thm-grto <COLOR> generated thumbnail background gradient
1644 COLOR-to
1645 --cs-thm-text <STRING> generated thumbnail text
1646 --cs-rank to do CS ranking
1647 --cs-rank-file <FILE> file with CS ranks
1648
1649Tag writing options:
1650 --comment-file <FILE> file with text to put into Commentary tag
1651 --user-comment <COMMENT> file with text to put into UserComment tag
1652 -t, --tag <TAG> ... existing EXIF tag to set in renamed files
1653 --no-tags do not write tags
1654
1655Colorizing options:
1656 --use-color (*) colorized output
1657
1658Misc options: 1607Misc options:
1659 -g, --generate-thumb generation, writing or rewriting ThumbnailImage tag
1660 --dry-run do nothing, only print would have been done 1608 --dry-run do nothing, only print would have been done
@@ -1668,3 +1616,11 @@ i.e. prefixed by 'no'. E.g. '--mtime' sets file mtime value, while '--nomtime'
1668or '--no-mtime' disables setting it. 1616or '--no-mtime' disables setting it.
1617
1618Consult the documentation for a full list of options.
1619
1669"); 1620");
1621 }
1622 unless ($^O eq 'os2') {
1623 close STDERR;
1624 open STDERR, '>&SAVEERR';
1625 }
1670} 1626}

Return to:

Send suggestions and report system problems to the System administrator.