We have to delete PDF files and Folders older than five days .Can anyone help with the shell script
Regards
Ved
check this:
where <directory> is the directory structure that the pdf's are in. the funkiness in " " just checks for any combination of upper-case and lower-case p d f. the only part i'm not 100% on is the -ctime, whether it should be -mtime or not
Hi All,
working on AIX 5.3.
Requirement is:
Shell script in ksh to check if any file exists in 4 folders as below:
1. /FILE/INB/INT1
2. /FILE/INB/INT2
3. /FILE/INB/INT3
4. /FILE/INB/INT4
Thanks a lot for your time!
a1_win. (3 Replies)
Hi,
I am trying to convert html to pdf using perl module PDF::FromHTML, am getting the error as given below.
not well-formed (invalid token) at line 2, column 17, byte 56 at C:/Perl/lib/XML/Parser.pm line 187 at C:/Perl/site/lib/PDF/FromHTML.pm line 140
The perl code is as given... (2 Replies)
Dear all,
i have a lot of .pdf files that i need to reduce size with pdf2ps and ps2pdf app. I need a script which i can reduce file size of all .pdf files in every subfolder of WORKDIR folder.
folder tree like:
WORKDIR
SUBBWORK DIR1
SUB_SUB_WORKDIR1
... (1 Reply)
Hi
I am trying to modify a script that will remove files and folders under a set directory on my server.
I am using the following
find /home/test/HM/ -type d -exec rm -rf {} \; 2>/dev/null
This removes the files in the HM folder but it also removes the HM folder which i do not want to... (3 Replies)
Hi Guru's,
I am new to shell scripting. I have a unique requirement:
The system generates a single pdf(/tmp/ABC.pdf) file with Invoices for Multiple Customers, the format is something like this:
Page1 >> Customer 1 >>Invoice1 + invoice 2 >> Page1 end
Page2 >> Customer 2 >>Invoice 3 + Invoice 4... (3 Replies)
Hi All,
Is it possible to convert the excel file to PDF file(Without loosing any format) using unix shell scripting ??? If yes
Kindly help me on the code
Thanks in advance!!! (5 Replies)
In here we have a script to extract all pdf links from a single page.. any idea's in how make this read instead of a page a list of pages.. and extract all pdf links ?
#!/bin/bash
# NAME: pdflinkextractor
# AUTHOR: Glutanimate (http://askubuntu.com/users/81372/), 2013
#... (1 Reply)
Does anybody have idea of Converting secured pdf files to pdf using acroread ?
---------- Post updated at 04:49 PM ---------- Previous update was at 04:44 PM ----------
This file is not password protected. (4 Replies)
Hello everyone.
I have a dlink cam that save recordings splitted for hours. Each hour folder contain a lot of small avi files.
Repository has the following directories structure:
\_20140101/
\_ 01
\_a.avi
\_b.avi
\_ 02
\_c.avi
... (3 Replies)
Hello, my first thread here.
I've been searching and fiddling around for about a week and I cannot find a solution.:confused:
I have been converting all of my home videos to HEVC and sometimes the files end up smaller and sometimes they don't. I am currently comparing all the video files... (5 Replies)
Discussion started by: Josh52180
5 Replies
LEARN ABOUT DEBIAN
text::pdf::ttfont
Text::PDF::TTFont(3pm) User Contributed Perl Documentation Text::PDF::TTFont(3pm)NAME
Text::PDF::TTFont - Inherits from Text::PDF::Dict and represents a TrueType font within a PDF file.
DESCRIPTION
A font consists of two primary parts in a PDF file: the header and the font descriptor. Whilst two fonts may share font descriptors, they
will have their own header dictionaries including encoding and widhth information.
INSTANCE VARIABLES
There are no instance variables beyond the variables which directly correspond to entries in the appropriate PDF dictionaries.
METHODS
Text::PDF::TTFont->new($parent, $fontfname, $pdfname, %opts)
Creates a new font resource for the given fontfile. This includes the font descriptor and the font stream. The $pdfname is the name by
which this font resource will be known throught a particular PDF file.
All font resources are full PDF objects.
$t->width($text)
Measures the width of the given text according to the widths in the font
$t->trim($text, $len)
Trims the given text to the given length (in per mille em) returning the trimmed text
$t->out_text($text)
Indicates to the font that the text is to be output and returns the text to be output
$f->copy
Copies the font object excluding the name, widths and encoding, etc.
TITLE
Text::PDF::TTIOString - internal IO type handle for string output for font embedding. This code is ripped out of IO::Scalar, to save the
direct dependence for so little. See IO::Scalar for details
perl v5.8.8 2006-09-09 Text::PDF::TTFont(3pm)