In the 4th commnd above my aim is to delete all subdirectories and files within the Inputpath Directory but not delete the Inputpath directory itself.
Am I correct on all the above?
No. #3 prints a lit of PDF files in Inputpath and its subdirectories when with mixed case spellings of PDF (PDF, PDf, PdF, Pdf, pDF, pDf, pdF, and pdf); the cp and mv in #1 and #2 will only act on PDF files ending in all lowercase letters (pdf). You need to decide whether you need case insensitive spellings of PDF and choose the appropriate pattern consistently based on your data.
It seems strange to me that you want to print the list of files you're working on after you have done #1 or #2.
This whole thread was started because you already know that #4 won't work; expanding Inputpath/* will create an argument list to long for the exec family of system calls to work. If there are no files in and under Inputpath other than PDF files, the easiest thing to do would be:
hi all,
i am looking for ways to make ftp efficient by tuning the parameters
currently,
tcp_max_buf is 1 MB
tcp_xmit_hiwat is 48 KB
say to transmit multiple 2 gb files from unix server to mainframe sys,
will increasing the window size or the send buffer size of the current TCP/IP... (6 Replies)
Language: ksh
OS: SunOS
I have been getting the 'subscript out of range' error when the below array variable gets elements greater that 1024. I understand that 1024 is the default size for 'set -A' dynamic array, but is there a way to initialize it with a larger number?
set -A arr `grep... (6 Replies)
Hi,
Does anyone know if it is possible to tar files larger than 2GB? The reason being is they want me to dump a single file (which is around 20GB) to a tape drive and they will restore it on a Solaris box. I know the tar have a limitation of 2GB so I am thinking of a way how to overcome this.... (11 Replies)
Hi,
I am new to unix , I was planning to write a script that will FTP files to destination folder. , Please guide me what are the various networking commands that unix will help in this ftp process..?:confused: (1 Reply)
Hello!
This is my first post, and I just learned what UNIX was this week. For a JAVA programming class I am taking, I must be able to create a directory in UNIX, use the nano command to create a JAVA program, compile it, and then run it on the command prompt using the java command.
For some... (5 Replies)
My unzip command doesn't work for files that are greater than 4GB. Consider my file name is unzip -p -a filename.zip, the command doesn't work since the size of the file is larger. I need to know the corresponding 7z command for the same. This is my Unix shell script program:
if
then
... (14 Replies)
I need to backup my database but the files are very large and the TAR command will not let me. I searched aids and found that I could do something with the mknod, COMPRESS and TAR command using them together. I appreciate your help. (10 Replies)
Hi,
I have one large files of 100000 rows with header column.
Eg:
Emp Code, Emp Name
101,xxx
102,YYY
103,zzz
...
...
I want to split the files into smaller files with only 30000 rows each..File 1,2 and 3 must have 30000 rows and file 4 must contain 10000 rows.
But the column... (1 Reply)
I need help modifying these two scripts to do the following:
- print files in (MB) instead of (KB)
- only select files larger than 500MB -> these will be mailed out daily
- Select all files regardless of size all in (MB) -> these will be mailed out once a week
this is what i have so far and... (5 Replies)
I am new at developing EXPECT scripts. I'm trying to create a script that will automatically connect to a several UNIX (sun solaris and HPUX) database server via FTP and pull the sizes of the listener/alert log files from specified server directory on the remote machines.
1. I want the script... (7 Replies)
Discussion started by: mikebantor
7 Replies
LEARN ABOUT DEBIAN
pdfseparate
pdfseparate(1) General Commands Manual pdfseparate(1)NAME
pdfseparate - Portable Document Format (PDF) page extractor
SYNOPSIS
pdfseparate [options] PDF-file PDF-page-pattern
DESCRIPTION
pdfseparate extract single pages from a Portable Document Format (PDF).
pdfseparate reads the PDF file PDF-file, extracts one or more pages, and writes one PDF file for each page to PDF-page-pattern, PDF-page-
pattern should contain %d
The PDF-file should not be encrypted.
OPTIONS -f number
Specifies the first page to extract. If -f is omitted, extraction starts with page 1.
-l number
Specifies the last page to extract. if -p is omitted, extraction ends with the last page.
-v Print copyright and version information.
-h Print usage information. (-help and --help are equivalent.)
EXAMPLE
pdfseparate sample.pdf sample-%d.pdf
extracts all pages from sample.pdf, if i.e. sample.pdf has 3 pages, it produces
sample-1.pdf, sample-2.pdf, sample-3.pdf
AUTHOR
The pdfseparate software and documentation are copyright 1996-2004 Glyph & Cog, LLC and copyright 2005-2011 The Poppler Developers -
http://poppler.freedesktop.org
SEE ALSO pdfunite(1),
15 September 2011 pdfseparate(1)