12-08-2007
Thanks everyone. It worked.
Could also tell me how can I do the request where user have asked to remove all files from certain directory with .html extension.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how can I find out what is the difference between two tar.gz files without uncompressing them.
thank you. (7 Replies)
Discussion started by: rakeshou
7 Replies
2. UNIX for Dummies Questions & Answers
I am fully capable of reading a book to get the answers or looking to the web, but no one has the answer to this one. I had a Zoom 56K V34 Plus external modem (2836A) attached to my Unix box for about ten years without a flaw. This weekend I couldn't access the box remotely through the modem and... (0 Replies)
Discussion started by: scivic
0 Replies
3. Shell Programming and Scripting
hai,
i am new to unix scripting & learning unix scripting and doing some assignments....
i have an assignment as follows,
i want to check the size of the text file and .ext files in all directories,
if any one of them is greater than 100mb , i have to display those files..
... (2 Replies)
Discussion started by: G.K.K
2 Replies
4. Shell Programming and Scripting
Hey Guys....
Just need some help as I am not proficient in Unix shell script...
Doubt:
---------------
Suppose there will be some of the following files inside a directory called OUT ...
Path: - /appdb1/product/batch/rms/OUT
files inside OUT directory:-
POSU_75002_20090127_20090129035442... (4 Replies)
Discussion started by: satyajit007
4 Replies
5. HP-UX
Is there a size limit when passing an argument using wildcards? I.E. when I pass an argument in the form (like) "ftp_auto *.txt" - is there a limitation on the size of UNIX expanding "*.txt" ? (1 Reply)
Discussion started by: vslewis
1 Replies
6. Shell Programming and Scripting
How would I get a total of a wildcard of files from the 'du' command?
du -s *.pdf
Result:
736 11mens_bracket.pdf
64 2011_NIT_Bracket_3_13_11.pdf
80 Doing more with Less part1.pdf
1064 Doing more with Less part2.pdf
28 Parkview_1309_Garage.pdf
3964 statsheet-bracket-2011.pdf
Expected... (7 Replies)
Discussion started by: AlphaLexman
7 Replies
7. Shell Programming and Scripting
HI,
Getting the syntax error " find: missing conjunction" for the below code
D1_DIR=/x/y/z
D1_NAME=file_name
FILE_DIR=pset
for file in `find ${D1_DIR}/${D1_NAME} -name "*\.${FILE_DIR}" /dev/null {} \;`
do
echo $file
done
#Trying to find all the files with *.pset... (5 Replies)
Discussion started by: cvsanthosh
5 Replies
8. Shell Programming and Scripting
I have a log file that I want to extract the field name and the field value
and write them to a text file for importation it a database table for reporting purposes.
How can I extract the desired data from this file .
Example: dbt_dbid=4
dbt_dbid is the field name
4 is the field value... (4 Replies)
Discussion started by: JolietJake
4 Replies
9. Shell Programming and Scripting
I have a script that does log rotation, at 10000k, it will print out the logs as follows:
name.date.0.log(1gb)
name.date.1.log(1gb)
name.date.2.log(200mb) << current log being written to
at midnight it reverts back to : name.date.0.log(size)
I want it to be able to go past date.9.log... (2 Replies)
Discussion started by: bigbenn
2 Replies
10. Shell Programming and Scripting
Hi
My directory structure is as below.
dir1, dir2, dir3
I have the list of files to be deleted in the below path as below.
/staging/retain_for_2years/Cleanup/log $ ls -lrt
total 0
drwxr-xr-x 2 nobody nobody 256 Mar 01 16:15 01-MAR-2015_SPDBS2
drwxr-xr-x 2 root ... (2 Replies)
Discussion started by: prasadn
2 Replies
LEARN ABOUT X11R4
extcheck
EXTCHECK(1) General Commands Manual EXTCHECK(1)
NAME
extcheck - check hierarchical ext(5) files for global node connectivity and summarize number of fets, nodes, etc.
SYNOPSIS
extcheck [ -c cthresh ] [ -p path ] [ -r rthresh ] [ -s sym=value ] [ -C ] [ -R ] [ -S symfile ] [ -T tech ] root
DESCRIPTION
Extcheck will read an extracted circuit in the hierarchical ext(5) representation produced by Magic, check to ensure that all global nodes
(those to which a label ending in an exclamantion point is attached) are fully connected in the layout, and then print a count of the num-
ber of various items (nodes, fets, etc) encountered while flattening the circuit. The root of the tree to be processed is the file
root.ext; it and all the files it references are recursively flattened.
The following options are recognized:
-c cthresh
Set the capacitance threshold to cthresh femtofarads. Extcheck will count the number of explicit internodal capacitors greater than
cthresh, the number of nodes whose capacitance is greater than cthresh, as well as the total number of nodes. (Other programs such
as ext2sim(1) use this option as a threshold value below which a capacitor will not be output). The default value for cthresh is 10
femtofarads.
-p path
Normally, the path to search for .ext files is determined by looking for path commands in first ~cad/lib/magic/sys/.magic, then
~/.magic, then .magic in the current directory. If -p is specified, the colon-separated list of directories specified by path is
used instead. Each of these directories is searched in turn for the .ext files in a design.
-r rthresh
Set the resistance threshold to rthresh ohms. Similar in function to -c, but for resistances. The default value for rthresh is 10
ohms.
-s sym=value
It's possible to use special attributes attached to transistor gates to control the length and width of transistors explicitly,
rather than allowing them to be determined by the extractor. These attributes are of the form ext:w=width^ or ext:l=length^, where
width or length can either be numeric, or textual. (The trailing ``^'' indicates that these are transistor gate attributes). If
textual, they are treated as symbols which can be assigned a numeric value at the time ext2sim is run. The -s flag is used to
assign numeric values to symbols. If a textual symbol appears in one of the above attributes, but isn't given a numeric value via
-s (or -S below), then it is ignored; otherwise, the transistor's length or width is set to the numeric value defined for that sym-
bol. (This option is not currently used by extcheck, but it is common to ext2sim(1) and other tools that are written using the
extflat(3) library)
-C Set the capacitance threshold to infinity. Because this avoids any internodal capacitance processing, all tools will run faster
when this flag is given.
-R Set the resistance threshold to infinity.
-S symfile
Each line in the file symfile is of the form sym=value, just like the argument to the -s flag above; the lines are interpreted in
the same fashion. (This option is not currently used by extcheck, but it is common to ext2sim et. al.)
-T tech
Set the technology in the output .sim file to tech. This overrides any technology specified in the root .ext file.
SEE ALSO
ext2dlys(1), ext2sim(1), ext2spice(1), magic(1), rsim(1), sim2spice(1), ext(5), sim(5)
AUTHOR
Walter Scott
BUGS
The -s mechanism is incomplete; it should allow quantities other than transistor lengths and widths to be specified.
EXTCHECK(1)