Debian :: Input File For Pdftk?

Apr 21, 2011

This is a question for those that use pdftk. I've been using it for about the last year or so to combine manipulate PDFs and it is awesome. Until today, mostly what I've been using it for has been for less than five files. Today I have been working on a manual at work which consists of about 100 separate files with a total page count of 167. The pages are a mix of 8.5x11(inch) and 11x17(inch). The pages needed to be in a specific order, the only way I could think of to do this instead doing this all in the CLI, I created a text file which contained a list or sequence of the files. To make it easier for me to read and group, I first put each file on a separate line.

chapter1_separation_page.pdf
file1.pdf
file2.pdf

[code]....

View 10 Replies


ADVERTISEMENT

Ubuntu :: Pdftk Output File With Pages Extracts Same Size As Input File?

Apr 22, 2011

I am curious if perhaps I am doing something wrong extracting pages from a pdf doc using pdftk and creating a new file. I am only extracting the odd pages from the file and outputting them to a new file that is now only 20 pages instead of the input's 40 pages, yet the new output file is still 1.4Mb in size, the same as the original.

It seems strange to extract only half the pages of a large document and end up with a result that is the same size. how to streamline the resulting pdf's using pdftk?

BTW this is the command I am using, in case perhaps I am missing an option to optimize file size or something:

Code:
pdftk A=ch15.pdf cat A1-40odd output odd.pdf

View 1 Replies View Related

OpenSUSE :: Nothing Provides Pdftk Needed By Pdftk-qgui-0.1.9.2-0.pm.1.1.x86_86?

Aug 16, 2010

pdftk could be installed in the Suse 11.0 version, and worked very well. I love it. But recently, after I install Suse11.3 on my Dell desktop (64 bits), everything works fine except the pdftk. When I am trying to install it from Yast, it warns:nothing provides pdftk needed by pdftk-qgui-0.1.9.2-0.pm.1.1.x86_86, and gives me two conflict resolutions: 1. do not install it2. break pdftk-qgui by ignoring some of its dependencies.Obviously, none of them are the correct answer .

View 2 Replies View Related

Software :: Pdftk 'File Size Limit Exceeded' Error?

Apr 12, 2010

I downloaded pdftk 1.41 fromand installed on Red Hat Enterprise Linux 4, 32 bitI am primarily using this utility to uncompress pdf files to remove the 'Flate' compressionIt works good with small pdfsHowever, when i use to uncompress pdf files of size 35MB or more, the uncompressed output file grows up to 2GB and then the uncompression fails with error:"File size limit exceeded"I can concatenate two files with output file size upto 3GB in size, so 2GB is not the limitation at the linux level

View 1 Replies View Related

Debian :: Convert Regular Pdf Into Another With Text Using Pdftk?

Sep 9, 2010

Can someone tell me which of the parameters in pdftk is responsible for converting my PDF (which is a bunch of images "staped" together) into a pdf with text that I can ctrl+f? The manual isn't clear enough for me.

View 4 Replies View Related

Debian Programming :: Check If Files Exists By Read Input From A File

Jul 27, 2013

I need a script that dose the following checks if files exists by read input from a file then compares them to the files listed in the directory if they don’t exists the script would report back which file dose not exists. I also need to format the output so that files are grouped in different groups, group A, B, and C and etc based on file name. I would like the output of that do not exists files to be sorted based on second number in the file name than group according. I understand some of the basics of bash scripting something along of the lines of a loop and if statements might do the trick. Below is what I have so far. I don’t car so much about the script reporting back the file exists I prefer to only know if the file is missing and is less than 3 days old. Problem is if a file dose not exists in the reports file the test compares against the wrong file.

Group A

Foo22000.tar.gz
Foo22010.tar.gz

Group B

foo25000.tar.gz
foo25100.tar.gz

Group C

foo26000.tar.gz

Code] ....

View 2 Replies View Related

Ubuntu :: Can't See - Find Pdftk / Get That?

Jan 6, 2011

Just installed pdftk in 10.04 LTS - Lucid Lynx but I can't see it. Synaptic's says its installed, have re-installed and re-booted but still no trace.
Anyone any idea what might be wrong.

View 2 Replies View Related

OpenSUSE :: Rely On Pdftk, Which Has Disappeared In 11.2?

Nov 13, 2009

I have come to rely on pdftk, which has disappeared in opensuse 11.2I tried just cloning the package from 11.1 into factory & 11.2 in OBS, which didn't work. I tried tracking that down and got bogged down in a maze of dependancies and ultimately some incompatibility with the latest g++ or gcj which I failed to figure out.I see the errors in the build log, I just don't see what's wrong with the code, especially since it builds fine on 11.1. It looks like maybe it was always technically incorrect code, but only now gcj or g++ refuses to accept it. But I can't tell what's actually wrong with it. And the home site hasn't been updated in 3 years so no luck there.Has anyone managed to build pdftk on 11.2 ?Or, is there some other package that can do what pdftk does ? (non-interactive pdf manipulation)I see debian and ubuntu still have it in their latest versions. So next I'm going to try just importing a .deb with alien or maybe try porting their patch set over to my OBS package.

View 9 Replies View Related

Slackware :: Warnings With Pdftk SlackBuild?

Jan 7, 2010

I got these warnings, on Slackware64 13.0, so I aborted the build:

Code:
gcj -O2 -fPIC -w --encoding=UTF-8 --classpath="/tmp/SBo/pdftk-1.41/java_libs" -c Anchor.java -o Anchor.o
GC Warning: Repeated allocation of very large block (appr. size 2097152000):

[code]....

View 3 Replies View Related

Ubuntu :: Error (splicing File: Input / Output) While Copying File

Jun 3, 2010

When I try to copy PDF files from one folder to another folder, it give me this error: "Error while copying "2004-SNUG-Europe-paper_...log_DPI_with_SystemC.pdf". There was an error copying the file into /media/CCDCE66BDCE64F70/Backup Master/Heterogeneous_cosimulation/Documentation" "Error splicing file: Input/output error" What is the reason of this error and how can this be fixed?

View 9 Replies View Related

Ubuntu :: Copying File - Error Reading From File Input/output

Jun 29, 2010

I have a 7.2 GB file (VMWare virtual machine file) that I am trying to copy from its original location to the another folder OR to external hard drive...each time I try to do this, I always get the following error after the copying process reach 'exactly' 1.4 GB

Error reading from file input/output error

And I have to either Cancel or Skip

I've tried to split the files to smaller pieces but the idea didn't work as I still get the same error whenever I try to compress/ split or do any operation with this file. how I can copy this file?

View 2 Replies View Related

Programming :: Splitting A File Based On The Values Read From An Input File?

Jul 27, 2010

I am splitting a file based on the values read from an input file. The below one is the script.

1)How do I add the header which is present in the original file to the new split files created?(For eg. pharmacyf conatins header as table column names. The new files created (ODS.POS.$pharmacyid.$tablename.$CURRENT_DATE.dat) are without the header).

2) Also the script is creating 0 byte files for the pharmacyids which are not available in the intial file? Can this be avoided?

for pharmacyf in *
do
tablename=`echo $pharmacyf |cut -f4 -d'.' `
while read pharmacyid
do
grep -w $pharmacyid $pharmacyf >> $OUT/ODS.POS.$pharmacyid.$tablename.$CURRENT_DATE.dat
done< inputfile
done

View 2 Replies View Related

General :: Data From Input File To Be Taken And Send To Output File?

Jul 24, 2010

I am new to shell scripting.What i am trying is to write a shell script which take the input file and output should like as mentioned below.Output file should have data till SOK (marked in red)from every second line and then the selected data(marked in green) from 4th line.So selected data from 2nd and 4th line in one line of O/P file and then similarly selected data from 6th and 8th line in second line of O/P file.Input File:

3c3
< c1111;11.11.11.11;pOK;SOK:abcde;Universe:aa
---

[code]...

View 14 Replies View Related

Server :: NFS Large File Copies Fail - Error Writing To File: Input/output Error?

Jun 27, 2009

I recently upgraded my file/media server to Fedora 11. After doing so, I can no longer copy large files to the server. The files begin to transfer, but typically after about 1gb of the file has transferred, the transfer stalls and ultimately fails with the message:

"Error writing to file: Input/output error"

I've run out of ideas as to what could cause this problem. I have tried the following:

1. Different NFS versions: NFS3 and NFS4
2. Tried copying the files to different physical drives on the server.
3. Tried copying the files from different physical drives on the client.
4. Tried different rsize and wsize block sizes when mounting the NFS share
5. Tried copying the files via a different protocol. SSH in this case. The file transfers are always successful when I use SSH.

Regardless of what I do, the result is the same. The file transfers always fail after approximately 1gb.

Some other notes.

1. Both the client and the server are running Fedora 11 kernel 2.6.29.5-191.fc11.x86_64

I am out of ideas. Has anyone else experienced something similar?

View 13 Replies View Related

General :: Getting Input From A File?

Dec 2, 2010

I am trying to input from a file. The file's layout has three columns; a department number, a first name and a last name, each separated by a space, for example:

Code:

781-89-4271 Amy Balduff
839-98-4072 Brian Becker
846-43-4284 Christina Brendon

[code]....

I need to input the words through separate variables because I will be passing them to other programs as soon as I can figure this out.

View 9 Replies View Related

CentOS 5 :: Ldapsearch From Input File?

Feb 3, 2011

I have list of usersnames (500) in user.txt file. how do i use ldapsearch utitlity from this input file and output each and every users OU belongings in output.txt file.

View 2 Replies View Related

OpenSUSE :: Amarok 4.4.2 - How To Input File PATH

Apr 4, 2010

I upgraded my OpenSUSE 11.2 KDE 4.3.5.x to KDE 4.4.2 and am having a couple of issues. Not sure if I am just a bit stupid or impatient figuring them out or what... In Amarok, I used to be able to input or edit the path name under Files (i.e. Browse Local Harddrive for Content). This allowed me to quickly copy and paste a location from Dolphin / Konqueror etc. into and from Amarok for quick access across multiple applications (Especially when sorting out things). Somehow this is either missing (Not possible anymore) or I am to impatient or stupid figuring this out.

View 2 Replies View Related

General :: Input To Sudo - What Is Its File Descriptor

Aug 5, 2011

Where does input to sudo go? I mean when we give password to sudo prompt where it actually goes? If it goes to a file what is its name or what is its file descriptor?

View 1 Replies View Related

General :: Xkbprint Error: No Input File Specified

Mar 18, 2011

when I try to print the current keyboard layout with "xkbprint -o layout.ps" it gives me the error mentioned in the subject. I also remember printing it a couple of weeks ago (and I'm sure I didn't specify any additional options), but now it just doesn't work. Everything I read on the Net assume this command prints the current layout, and so far I haven't discovered even the slightest mention of this error. It's a trifle, but it drives me mad. What could I be doing wrong?

View 1 Replies View Related

Software :: Overwrite Same Input File Image

Mar 18, 2011

Code:
dd bs=8192 if=Image of=/dev/PS0
In the above command, I cant able to understand the option "of=/dev/PS0"

Whether it means,
1) to write the input file "Image" in to "/dev/PS0" of the Floppy device
or
2) to overwrite the same input file "Image" in a file format ("/dev/PS0") of Floppy.

View 2 Replies View Related

Programming :: C - User To Input The Name Of A File As An Argument

Aug 5, 2010

Write a program that requires the user to input the name of a file as an argument. If the user fails to include one argument it should make use of a thread that handles a signal. The signal handler should tells the user Incorrect number of arguments and then calls the terminate signal on the process.

If the numbers of arguments are correct then the program should allocate memory space to the file (5MB) and create a child process that requests the user for a character that it should send to the parent. The child should keep request for data until the user keys in the character O. During each request it should pause for 10 seconds, send the character to the parent and then requesting again for another character.

The parent should get the character from the child. Do not make the parent wait for the child to finish requesting for data. Make use of pipes to facilitate communication between the parent and the child. A second child should be created to read and display data from the file. Make use of any appropriate Inter Process Communication technique to ensure that the second child and the parent do not access the file simultaneously (Mutual exclusion).

View 5 Replies View Related

Programming :: Read Each Line Of A File As Input?

Jun 21, 2011

I'm writing a program which now accepts user input:

Code:
echo "Enter a date in the format YYYY MM DD hh mm ss."

read gregyr gregmo gregdy greghr gregmn gregsc This lets the user input a date and time, such as 2011 06 21 15 12 45, and have each number assigned to their corresponding variable. Later in the program, these variables are put into an equation, and then the terminal spits out the answer. Now I have to have the program read all of the lines from a text file, which is in this format, assign the variables.

View 7 Replies View Related

Fedora :: Cannot Remove `file': Input/output Error

Jan 21, 2011

When running rsnapshot tonight it failed with a bunch of

cannot remove `file': Input/output error

errors.

I navigated to the directory and tried to delete it manually and I got the same errors. I tried with 'sudo rm directory'. How else can I delete this directory? What would cause a situation like this?

View 9 Replies View Related

Ubuntu :: Automaticaly Save Input Of Gtkterm To Txt File?

Oct 21, 2010

I would like to save the input of gtkterm ( what is displayed from its window) to a file, and this iautmatically. Because from GTKterm you can rsave raw file by clicking "save every to raw file manually". As it's say on the readme file, you can use "gtkterm -f filename.txt", but i tried and any file is created on the current directory.

View 1 Replies View Related

Ubuntu :: Cannot Open File: Input/output Error

Nov 11, 2010

I just received a 1TB external(Western Digital) hard drive(NTFS) for backup purposes. I'm using an Ubuntu Live CD, and an external hard drive dock. I am transferring over esata and am receiving the error:

Code:

Cannot open file: input/output error

Seems strange that it said "open". At any rate only about 60 of the 200+ GB were able to be transferred over...this won't do. I have tried to copy via CLI using

Code:

cp -r

and received the same issue. For clarification I am attempting to transfer from a mounted partition onto the mounted external.

View 2 Replies View Related

General :: Nawk - Input From A Pipe And A File At The Same Time

Sep 16, 2010

I am tying to read a file in with nawk whilst trying to take input from a pipe. I've come across the getline option and no matter how hard I try, I can't figure out the correct syntax. What I want to do is to take some input from the pipe and make a comparison with all of the values in a file and print a match.

Code:

View 2 Replies View Related

Software :: /usr/bin/ld: Warning: I386 Architecture Of Input File

Jul 23, 2010

I was installing this AMBER software on my 64-bit Linux redhat laptop. It gave me this error when I compiled it.

gcc -o ucpp mem.o nhash.o cpp.o lexer.o assert.o macro.o eval.o
/usr/bin/ld: warning: i386 architecture of input file `mem.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `nhash.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `cpp.o' is incompatible with i386:x86-64 output

pcode]....

I went to the /usr/bin directory and saw all these executables including "ld", must've been installed by the IT people before they gave me the laptop. What are these files for? Is there a way to update them to x86-64 version?

View 2 Replies View Related

Programming :: Bash: Handling Input From File And Keyboard?

Jan 20, 2009

I have this little shell script which copies file names taken from inputfile:

Code:
while read line; do
cp -i $line something

[code]...

View 4 Replies View Related

Programming :: Graycode To Hexadecimal Converter From Input File?

Aug 25, 2010

Design, debug and test a C program that uses Gray Code for decoding information stored in a binary file. Gray Code G(A)of any value A can be easily produced from unsigned binary B(A) using the expression: G(A) = B(A) ^ ( B(A) >> 1 ) (1) The formula may be used to generate coding tables. For example for 4-bit codes:

Table 1. Coding table

Hex Value Binary Gray

0 0000 0000
1 0001 0001
2 0010 0011

[code]....

If the first option is selected, your program shall prompt the user to enter the file name and open the specified file. In this assignment you can presume that the file size is always limited to 64 bytes. If the file is not found, the program shall display a message: File not found and display the menu, so the user can enter file name correctly or exit the program.

View 3 Replies View Related

Ubuntu :: Canot Remove File Input/output Error

Apr 8, 2010

I got a new HDD like a Storage on my Ubuntu ,it is formated as ext3 and i am able to mount it ,but sometimes while downloading from FTP ,when the session broke Ubuntu crates some ./afternature.mp4 Input/output error ,which i can see on "ls -l" ,and that causes great troubles to me ,because i can not copy or write on that disk another file with the same one which is created like this ,these error are gone only if i format the hdd .

My mounting command is "mount /dev/hdb3 /tmp/hd ext3 rw 0 0" So is that possible to remove these error without formatting the disk . PS:I did a lot of search for that error ,on unix forums also here but i didn`t find a concrete answer ,i found a thread which is for that case but removing with inode is impossible because on ls -l i`m not receiving the inode .

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved