12-28-2007
Great! That worked.
Is there a way to exclude a directory?
Thanks for your quick response.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How to count the number of files in a directory.
Thanks
Mahalakshmi.A (13 Replies)
Discussion started by: mahalakshmi
13 Replies
2. Shell Programming and Scripting
Hi
if anyone could help me :)
I did a lot of search and 70% of answer is "how to count files in all subdirectories".
A basic problem for me is how to count files in every subdirectory separately then sort it by number of files
For example:
dir1
file1
file2
subdir11
dir2
dir3
... (3 Replies)
Discussion started by: yorryk
3 Replies
3. Shell Programming and Scripting
Hello experts,
I used following approach to get listing of all files of remote server.
Now I have remote server file information on same server.
I am getting listing in the output.txt
I want to count today's created files and old files.
I want to compare the numbers... (11 Replies)
Discussion started by: dipeshvshah
11 Replies
4. 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
5. Shell Programming and Scripting
I was wondering if anyone could help me with this problem:
Write a script called countFiles that takes two arguments, the initial directory and the number of levels and returns the count of all files (including directories) in the directories and subdirectories up to the number of levels.
... (4 Replies)
Discussion started by: clammy
4 Replies
6. 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
7. UNIX for Dummies Questions & Answers
Hi Guys,
Please help for counting different task_id:-
file name is: sms_push_123.ac:011:045
file records:
Now we need to output like: (1 Reply)
Discussion started by: aaditya321
1 Replies
8. Shell Programming and Scripting
hi All, Any one answer my requirement.
I have source location
src_dir="/home/oracle/arun/IRMS-CM"
My Target location
dest_dir="/home/oracle/arun/LiveLink/IRMS-CM/$dc/$pc/$ct"
my source text files check with below example.text file content
$fn "\t" $dc "\t" $pc "\t" ... (3 Replies)
Discussion started by: sravanreddy
3 Replies
9. Shell Programming and Scripting
Hi,
Very good wishes to all!
Please help to provide the shell script for generating the record counts in filed wise from the .csv file
My question:
Source file:
Field1 Field2 Field3
abc 12f sLm
1234 hjd 12d
Hyd 34
Chn
My target file should generate the .csv file with the... (14 Replies)
Discussion started by: Kirands
14 Replies
LEARN ABOUT CENTOS
ppi::token::number::version
PPI::Token::Number::Version(3) User Contributed Perl Documentation PPI::Token::Number::Version(3)
NAME
PPI::Token::Number::Version - Token class for a byte-packed number
SYNOPSIS
$n = 1.1.0;
$n = 127.0.0.1;
$n = 10_000.10_000.10_000;
$n = v1.2.3.4
INHERITANCE
PPI::Token::Number::Version
isa PPI::Token::Number
isa PPI::Token
isa PPI::Element
DESCRIPTION
The "PPI::Token::Number::Version" class is used for tokens that have multiple decimal points. In truth, these aren't treated like numbers
at all by Perl, but they look like numbers to a parser.
METHODS
base
Returns the base for the number: 256.
literal
Return the numeric value of this token.
BUGS
- Does not handle leading minus sign correctly. Should translate to a DashedWord. See <http://perlmonks.org/?node_id=574573>
-95.0.1.0 --> "-_ 00cA 00"
-96.0.1.0 --> Argument "` ^A " isn't numeric in negation (-)
SUPPORT
See the support section in the main module.
AUTHOR
Chris Dolan <cdolan@cpan.org>
COPYRIGHT
Copyright 2006 Chris Dolan.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
perl v5.16.3 2011-02-26 PPI::Token::Number::Version(3)