06-02-2005
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
How do i find out the number of files in a directory using unix command ? (14 Replies)
Discussion started by: Raynon
14 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Please let me know how to find out number of files in a directory excluding existing files..The existing file format will be unknown..each time..
Thanks (3 Replies)
Discussion started by: ammu
3 Replies
3. Shell Programming and Scripting
how can i find number of lines in files & subdirectories ? (3 Replies)
Discussion started by: pcbuilder
3 Replies
4. UNIX for Dummies Questions & Answers
Dear All
i need to find to total number of the files and subdirectories under /software
i issue this command
find /software/* -print | wc -l
but i need another command to know how many files and subdirectories . (3 Replies)
Discussion started by: thecobra151
3 Replies
5. Shell Programming and Scripting
1) I need a shell code to count the number of files ( without directories or sub-directories ) in a directory given as arguments I tried this code but it didn't work , maybe I tried the wrong one:
numOfFiles=`find $1 -type f -maxdepth 1 | wc -l`
I found it in another thread in this site..
... (17 Replies)
Discussion started by: jack1985
17 Replies
6. UNIX for Dummies Questions & Answers
Hi all...
I have a directory called dbrn. This directory contains an unknown number of subdirectories which in turn contain an unknown number of files.
What I want to know is:
How many files with extention .ABC can be found in /dbrn across all subdirecties, and what is the total size for... (9 Replies)
Discussion started by: Beun
9 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have a large number of subdirectories (>200), and in each of these directories there is a file with a name like "opp1234.dat".
I'd like to know how I could change the names of these files to say "out.dat" in all these subdirectories in one go.
Thanks! (5 Replies)
Discussion started by: lost.identity
5 Replies
8. Shell Programming and Scripting
Hi!
I just want to count number of files in a directory, and write to new text file, with number of files and their name
output should look like this,,
assume that below one is a new file created by script
Number of files in directory = 25
1. a.txt
2. abc.txt
3. asd.dat... (20 Replies)
Discussion started by: Akshay Hegde
20 Replies
9. Shell Programming and Scripting
Hi All!
I need to have a script that counts the number of files arriving in a landing directory, them some app pick these files to be processed and load to a DB. But this process is so fast that I am not able to count all the files arriving on a landing directory.
Please can you help?
My... (6 Replies)
Discussion started by: fretagi
6 Replies
10. UNIX for Dummies Questions & Answers
I have a folder named test/ and under that I have multiple directories and in each of the directory I have multiple log files. I want to know how many files exists under each sub directory.
test
|--quanrantine
|--logfile1
|--logfile2
|--spooling
|--logfile1
... (4 Replies)
Discussion started by: ravikirankethe
4 Replies
IAC(1) PolyORB documentation IAC(1)
NAME
iac - PolyORB's IDL-to-Ada compiler
SYNOPSIS
iac opts file [-cppargs args]
DESCRIPTION
iac is an IDL-to-Ada compiler, compliant with version 1.2 of the "Ada Language Mapping Specification" produced by the OMG.
OPTIONS
iac accepts the following options:
-E Preprocess only. -k Keep temporary files.
-p Produce source on standard output.
-o DIR Specify output directory.
-dm Generate debug messages when analyzing scopes
-df Dump the frontend tree (the IDL tree)
-cppargs ARGS
Pass ARGS to the C++ preprocessor.
-I dir Shortcut for -cppargs -I dir.
-nocpp Do not preprocess input
-<lang> Generate code for a supported language
types Generate a list of all types present in the IDL file
-p Print the list generate
ada Generate Ada source code
-i Generate implementation template.
-c Generate client side code.
-s Generate server side code.
-d Generate delegation package. (defunct)
-ir Generate code for interface repository.(defunct)
-noir Don't generate code for interface repository (default).
-hc Using perfect minimal hash tables in skeletons and minimize CPU time
-hm Using perfect minimal hash tables in skeletons and minimize memory space
-rs Use the SII/SSI to handle requests
-rd Use the DII/DSI to handle requests (default)
-da Dump the Ada tree
-db Generate only the package bodies
-ds Generate only the package specs
-dw Output the withed entities
-dt Output tree warnings
-di Generate code for imported entities
idl Dump parsed IDL file
-b n Base to output integer literal As a default (zero) use base from input
-e Expand IDL Tree
-df Dump IDL Tree (may be used in conjunction with -e to dump the expanded IDL tree)
-di Output IDL code of imported entities (may be used in conjunction with -e to output the expanded IDL code)
EXIT STATUS
iac returns one of the following values upon exit:
0 Successful completion
1 Usage error
2 Illegal IDL specification
AUTHORS
The PolyORB team, polyorb-devel@lists.adacore.com.
SEE ALSO
The PolyORB WWW page, http://libre.adacore.com/polyorb/
PolyORB team April 26, 2007 IAC(1)