08-12-2009
Quote:
Originally Posted by
prakash.gr
...
I need to write perl script to list all the files present in directory and mail should be come to my inbox with all the files present in that directory.
...
What have you tried ?
Post your Perl program over here so we can have a look at it and suggest something.
Thanks,
tyler_durden
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Does any one know how to get a recursive directory listing in long format (showing owner, group, permission etc) without listing the files contained in the directories.
The following command also shows the files but I only want to see the directories.
ls -lrtR * (4 Replies)
Discussion started by: psingh
4 Replies
2. Shell Programming and Scripting
Hi,
I need to write a script,which behaves like this,
Given the folder name, it should list the files with today's timestamp.
Please direct me on this.
Thanks. (2 Replies)
Discussion started by: kid123
2 Replies
3. Linux
How can I list all files in a directory and its subdirectories that have been created or changed since the system was booted. I was trying to acomplish this with "ls" and "find" commands but could not get anything usefull. Maybe some one can provide me a hint.
Thank you for your time. (1 Reply)
Discussion started by: Vitalka
1 Replies
4. Programming
Dear All,
I want to list all the files of a Directory. I am not able to find out the code. So plz send me code in C in Unix Environmrnt so that I can Display all the file names of a Directory (3 Replies)
Discussion started by: krishna_sicsr
3 Replies
5. Shell Programming and Scripting
hi,
i have a the direcories like
usr\clone1\heap001.txt
usr\clone2\heap334.txt
usr\clone3\heap8899.txt
i nead a command which list all the file starting with heap*.i have to execute the command from usr directory. find command is hanging, i need some other form of script to do ... (2 Replies)
Discussion started by: jayaramanit
2 Replies
6. UNIX for Advanced & Expert Users
I have a directory named Project.I have a control file which contains valid list of files.I would like list the files from directory Project which contains files other than listed in the control file.
Sample control file:
TEST
SEND
SFFFILE
CONTL
The directory contains followign... (15 Replies)
Discussion started by: ukatru
15 Replies
7. Shell Programming and Scripting
Hi guys
Im new to forum so please dont be hard to me if I make any mistakes :)
I want to the following task:
1. I have a file lets say file1, which contains job names with numbers which have failed to start and ....
I can sort that file into another to get only the Job numbers with... (3 Replies)
Discussion started by: kl1ngac1k
3 Replies
8. Shell Programming and Scripting
hey guys I am writing a bash script that compares 2 directories and lists the contents that are different in each directory. I have figured out how to do this but the only problem is that it lists the file like this:
-rw-r--r-- 1 joey12 users 0 2010-10-29 16:13 test/file3
I want it to print... (16 Replies)
Discussion started by: Joey12
16 Replies
9. Shell Programming and Scripting
I'm looking for a script which outputs the list of directories and sub directories from root level consisting of specific files. For instance I want shell script to list all the directories and subdirectories containing .txt files.:wall: (4 Replies)
Discussion started by: super210
4 Replies
10. Shell Programming and Scripting
Hi,
I want to display the file names and the record count for the files in the 2nd column for the files created today.
i have written the below command which is listing the file names. but while piping the above command to the wc -l command
its not working for me.
ls -l... (5 Replies)
Discussion started by: Showdown
5 Replies
LEARN ABOUT MOJAVE
ppi::token::quotelike5.18
PPI::Token::QuoteLike(3) User Contributed Perl Documentation PPI::Token::QuoteLike(3)
NAME
PPI::Token::QuoteLike - Quote-like operator abstract base class
INHERITANCE
PPI::Token::QuoteLike
isa PPI::Token
isa PPI::Element
DESCRIPTION
The "PPI::Token::QuoteLike" class is never instantiated, and simply provides a common abstract base class for the five quote-like operator
classes. In PPI, a "quote-like" is the set of quote-like things that exclude the string quotes and regular expressions.
The subclasses of "PPI::Token::QuoteLike" are:
qw{} - PPI::Token::QuoteLike::Words
`` - PPI::Token::QuoteLike::Backtick
qx{} - PPI::Token::QuoteLike::Command
qr// - PPI::Token::QuoteLike::Regexp
<FOO> - PPI::Token::QuoteLike::Readline
The names are hopefully obvious enough not to have to explain what each class is. See their pages for more details.
You may note that the backtick and command quote-like are treated separately, even though they do the same thing. This is intentional, as
the inherit from and are processed by two different parts of the PPI's quote engine.
SUPPORT
See the support section in the main module.
AUTHOR
Adam Kennedy <adamk@cpan.org>
COPYRIGHT
Copyright 2001 - 2011 Adam Kennedy.
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.18.2 2011-02-25 PPI::Token::QuoteLike(3)