02-17-2013
Why is it so big? Have you embedded data in it?
10 More Discussions You Might Find Interesting
1. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
This is a problem I am having with my 2 semester senior project. I have a LAMP server running Ubuntu 9.10 with... (8 Replies)
Discussion started by: JMooney5115
8 Replies
2. Shell Programming and Scripting
Hi,
This is my program.
#!/bin/bash
today=`date +"%b-%d-%Y"`
SERVICE="pbxconnect.php"
if ; then
echo "pbx program is running"
else
nohup php pbxconnect.php > logpbx-$today.txt &
fi
On executing using "sh myprogram.sh" , i get the following error.
myprogram.sh: line 4: '
My... (7 Replies)
Discussion started by: gskumar1234
7 Replies
3. Shell Programming and Scripting
I'm a bit new to bash programming and I was assigned the job of writing a script that will check to see if a program server is running and to restart the program if it is not up. The script is supposed to check the program every hour (which I have looked up and I believe I know how to do) and send... (3 Replies)
Discussion started by: mcknz
3 Replies
4. UNIX for Dummies Questions & Answers
I just can't figure it out , so please just give me a pice of advise how to:
The existing Linux program foo2bar takes as its only argument the name of a single foo file and converts it to an appropriately-named bar file. Provide a script that when executed will run foo2bar against all foo... (4 Replies)
Discussion started by: raymen
4 Replies
5. Shell Programming and Scripting
I'm trying to write a script the simplifies the execution of a program:
After starting the program (sh ~/.mfix/model/make_mfix) I am prompted four times for options:
Do you need SMP version? (y/n)
Do you need DMP version? (y/n)
Do you need debug version? (y/n)
Force re-compilation of... (2 Replies)
Discussion started by: lanew
2 Replies
6. Shell Programming and Scripting
I have a file with the following content:
a-123-345-232
a-23343-4545-545
a-67676-45454-8787
a-129-8912-9824
b-564-78678-2322
b-5454-76767-8899
b-85554-124-152-29
c-34534-654543-323
(... and so on, actually these are pretty huge records)
Now, I want that the file should not be broken in to... (8 Replies)
Discussion started by: askerbis
8 Replies
7. UNIX for Dummies Questions & Answers
I wish to be able to give to a client the opportunity to :
0) Turn one of my ubuntu computers into a webserver
1) See a webpage after visiting a url where an external user/client can set a couple of variables (e.g. Number1= ?, Number2=?)
2) By pressing "run" the program runs on my machine
3)... (1 Reply)
Discussion started by: frad
1 Replies
8. Shell Programming and Scripting
I have a majority of this problem done but seem to be struggling on the last couple of steps. Here is the whole problem to help you guys get a better understanding.
Write a shell script that implements a simple spell checker.
The filename you will use for your script will be your Z-id followed... (1 Reply)
Discussion started by: DsmRacer2k14
1 Replies
9. Programming
hi all,
i want a program or to make a bash script to find out the total ETA/percent (would be nice aswell a progress bar) of a copy recursive command
so lets say i do -
cp -r /source_folder/ /destinatation_folder/
and when i run it i get no information on the screen of how the copy is... (20 Replies)
Discussion started by: robertkwild
20 Replies
10. UNIX for Beginners Questions & Answers
I can't seem to get this right. I've tried it every way imaginable using every trick I see on stackexchange and such. No luck. So nothing major here, something like:
#!/bin/bash
SEARCH="ARG1 ARG2 '((^EXACT$)|(.*InTheMiddle*)|(^AtBeginning*))'"
java -cp /my/class/path MyClassName $SEARCH... (3 Replies)
Discussion started by: stonkers
3 Replies
LEARN ABOUT CENTOS
pdfdetach
pdfdetach(1) General Commands Manual pdfdetach(1)
NAME
pdfdetach - Portable Document Format (PDF) document embedded file extractor (version 3.03)
SYNOPSIS
pdfdetach [options] [PDF-file]
DESCRIPTION
Pdfdetach lists or extracts embedded files (attachments) from a Portable Document Format (PDF) file.
CONFIGURATION FILE
Pdfdetach reads a configuration file at startup. It first tries to find the user's private config file, ~/.xpdfrc. If that doesn't exist,
it looks for a system-wide config file, typically /usr/local/etc/xpdfrc (but this location can be changed when pdfinfo is built). See the
xpdfrc(5) man page for details.
OPTIONS
Some of the following options can be set with configuration file commands. These are listed in square brackets with the description of the
corresponding command line option.
-list List all of the embedded files in the PDF file. File names are converted to the text encoding specified by the "-enc" switch.
-save number
Save the specified embedded file. By default, this uses the file name associated with the embedded file (as printed by the "-list"
switch); the file name can be changed with the "-o" switch.
-saveall
Save all of the embedded files. This uses the file names associated with the embedded files (as printed by the "-list" switch). By
default, the files are saved in the current directory; this can be changed with the "-o" switch.
-o path
Set the file name used when saving an embedded file with the "-save" switch, or the directory used by "-saveall".
-enc encoding-name
Sets the encoding to use for text output (embedded file names). The encoding-name must be defined with the unicodeMap command (see
xpdfrc(5)). This defaults to "Latin1" (which is a built-in encoding). [config file: textEncoding]
-opw password
Specify the owner password for the PDF file. Providing this will bypass all security restrictions.
-upw password
Specify the user password for the PDF file.
-cfg config-file
Read config-file in place of ~/.xpdfrc or the system-wide config file.
-v Print copyright and version information.
-h Print usage information. (-help and --help are equivalent.)
EXIT CODES
The Xpdf tools use the following exit codes:
0 No error.
1 Error opening a PDF file.
2 Error opening an output file.
3 Error related to PDF permissions.
99 Other error.
AUTHOR
The pdfinfo software and documentation are copyright 1996-2011 Glyph & Cog, LLC.
SEE ALSO
pdfimages(1), pdffonts(1), pdfinfo(1), pdftocairo(1), pdftohtml(1), pdftoppm(1), pdftops(1), pdftotext(1)
15 August 2011 pdfdetach(1)