11-13-2013
@scott,
i dont want the execption to be handled as null becoz it would be a valid exeception if it fails with some other reason
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
FOR: Windows NT 4
I want perl to read a directory. there is suposed to be two files in the folder ( file1.ini and file2.ini ) and i want perl to print "Files present" or "Files NOT present" to a text document ( report.txt )
how do i do it.? (2 Replies)
Discussion started by: perleo
2 Replies
2. UNIX for Advanced & Expert Users
Hi,
On my Unix Server in my directory, I have 70 files distributed in the following directories (which have several other files too). These files include C Source Files, Shell Script Source Files, Binary Files, Object Files.
a) /usr/users/oracle/bin
b) /usr/users/oracle... (1 Reply)
Discussion started by: marconi
1 Replies
3. Shell Programming and Scripting
I'm trying to check whether 3 files are existing and send 3 files as attachements.
If only two are there then send those two files as attachments.
if ; then
elif ; then
I tired the above given syntax and then it is giving me an error
line 11: '
I tried with -a instead of && and... (3 Replies)
Discussion started by: Celvin VK
3 Replies
4. UNIX for Dummies Questions & Answers
i need to search a word in the tar file. if it is present just give me the file name please help me (1 Reply)
Discussion started by: junkbuster
1 Replies
5. Shell Programming and Scripting
Hi all,
I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies
6. Shell Programming and Scripting
Hi,
I need a script/command to list out all the files in current path and also the files in folder and subfolders.
Ex: My files are like below
$ ls -lrt
total 8
-rw-r--r-- 1 abc users 419 May 25 10:27 abcd.xml
drwxr-xr-x 3 abc users 4096 May 25 10:28 TEST
$
Under TEST, there are... (2 Replies)
Discussion started by: divya bandipotu
2 Replies
7. Shell Programming and Scripting
Hi,
My requirement is,there is a directory location like:
:camp/current/
In this location there can be different flat files that are generated in a single day with same header and the data will be different, differentiated by timestamp, so i need to verify how many files are generated... (10 Replies)
Discussion started by: srikanth_sagi
10 Replies
8. Shell Programming and Scripting
Hi,
I need to compare the two floating or integer numbers which present in two different files,
Ex:
File 1:
col1 col2 col3
11 ssa 13.60
12 ssb 11.00
13 ssc 754.00
File 2:col1 col2 col3
11 sa 12.75
12 sb 11.00
13 sc 763.00
here i have to compare 3 column if 1st column match,... (8 Replies)
Discussion started by: Shenbaga.d
8 Replies
9. Shell Programming and Scripting
Hi Experts,
I have files Bank1 ,Bank2 ,Bank3 with high level customer information in one folder.
/home/Cust_information/
Bank1,Bank2,Bank3,Bank4
The detail level information of all customers of each Bank are present in separate directories .
Here Bank1 is a directory which contains set... (2 Replies)
Discussion started by: bharathbangalor
2 Replies
10. Shell Programming and Scripting
Hi frnds,
My requirement is I have a zip file with name say eg: test_ABC_UH_ccde2a_awdeaea_20150422.zip
within that there are subdirectories on each directory we again have .zip files and in that we have files like mama20150422.gz and so on.
Iam in need of a bash script so that it unzips... (0 Replies)
Discussion started by: Ravi Kishore
0 Replies
LEARN ABOUT DEBIAN
ptrepack
PTREPACK(1) General Commands Manual PTREPACK(1)
NAME
ptrepack - Copy any PyTables Leaf, Group or complete subtree into another file.
SYNOPSIS
ptrepack -h -v -o -R start,stop,step --non-recursive --dest-title=title --dont-copyuser-attrs --overwrite-nodes --complevel=(0-9) --com-
plib=lib --shuffle=(0|1) --fletcher32=(0|1) --keep-source-filters --upgrade-flavors --dont-regenerate-old-indexes sourcefile:sourcegroup
destfile:destgroup
DESCRIPTION
Copy any Leaf, Group or complete subtree from a PyTables file into another file.
OPTIONS
A summary of options is included below.
-h Prints a help text.
-v Show more information.
-o Overwite destination file.
-R RANGE
Select a RANGE of rows in the form start,stop,step during the copy of all the leaves.
--non-recursive
Do not do a recursive copy. Default is to do it.
--dest-title=title
Title for the new file (if not specified, the source is copied).
--dont-copy-userattrs
Do not copy the user attrs (default is to do it).
--overwrite-nodes
Overwrite destination nodes if they exist. Default is not to overwrite them.
--complevel=(0-9)
Set a compression level (0 for no compression, which is the default).
--complib=lib
Set the compression library to be used during the copy. lib can be set to "zlib", "lzo", "ucl" or "bzip2". Defaults to "zlib".
--shuffle=(0|1)
Activate or not the shuffling filter (default is active if complevel>0).
--fletcher32=(0|1)
Whether to activate or not the fletcher32 filter (not active by default).
--keep-source-filters
Use the original filters in source files. The default is not doing that if any of --complevel, --complib, --shuffle or --fletcher32
option is specified.
--upgrade-flavors
When repacking PyTables 1.x files, the flavor of leaves will be unset. With this, such a leaves will be serialized as objects with
the internal flavor ("numpy" for 2.x series).
--dont-regenerate-old-indexes
Disable regenerating old indexes. The default is to regenerate old indexes as they are found.
SEE ALSO
ptdump(1).
These utilities are documented fully by PyTables user's manual.
AUTHOR
This manual page was written by Francesc Altet <faltet@carabos.com>.
July 7, 2007 PTREPACK(1)