(Created page with ''''stampit''' is a perl script to stamp pdf files after their name. = History = * {{subst:today}}: v°0.1 - quick hack = Requirements = * pdftk = Usage = * You need a […') |
|||
Line 1: | Line 1: | ||
+ | = Stampit = | ||
+ | |||
'''stampit''' is a [[perl]] script to stamp pdf files after their name. | '''stampit''' is a [[perl]] script to stamp pdf files after their name. | ||
− | = History = | + | == History == |
* [[18 January|18]], [[January (2010)|January]] [[2010|(2010)]]: v°0.1 - quick hack | * [[18 January|18]], [[January (2010)|January]] [[2010|(2010)]]: v°0.1 - quick hack | ||
− | = Requirements = | + | == Requirements == |
* pdftk | * pdftk | ||
− | = Usage = | + | == Usage == |
* You need a [[svg]] file called ''stamp.svg'' which is the template to stamp the files. It can contain anything you want but also a line of text with some content such as, e.g., ''xxx-poster.pdf'', which will be replaced by the name of the file itself (the stamp). This must be fixed by hand in the source: | * You need a [[svg]] file called ''stamp.svg'' which is the template to stamp the files. It can contain anything you want but also a line of text with some content such as, e.g., ''xxx-poster.pdf'', which will be replaced by the name of the file itself (the stamp). This must be fixed by hand in the source: | ||
Line 24: | Line 26: | ||
<pre>./stampit</pre> | <pre>./stampit</pre> | ||
− | = Download = | + | == Download == |
* [[Media:stampit-v0.1.tar.gz|stampit-v0.1.tar.gz]] | * [[Media:stampit-v0.1.tar.gz|stampit-v0.1.tar.gz]] | ||
[[Category:perl]] | [[Category:perl]] |
Contents |
stampit is a perl script to stamp pdf files after their name.
$line =~ s/xxx-poster.pdf/$file/;
@files = <*-poster.pdf>;
./stampit