troubleshooting Question

Write filenames in a directory recursively to text file

Avatar of raaj4354
raaj4354 asked on
PerlScripting Languages
7 Comments1 Solution375 ViewsLast Modified:
Have a directory structure DIR1/
                               FOLDER1/fileabc.sps
                                                     CVS/abc.txt
                                                              def.entries
                                                                  cfe.prop
                                             FOLDER2/filebcd.sql
                                                     CVS/abc.txt
                                                              def.entries
                                                                  cfe.prop  
                                             FOLDER3/file1def.sp
                                                     CVS/abc.txt
                                                              def.entries
                                                                  cfe.prop
                                             FOLDER4/file1cvf.ty
                                                    CVS/abc.txt
                                                              def.entries
                                                                  cfe.prop
                                          
Recursively write all the filenames without extensions in to a text file
Need to ignore CVS folder and files in them... in each subdirectory.
Ignore a testfile.txt in each of the folder
Take path/to/DIR1 as parameter to the script
ASKER CERTIFIED SOLUTION
wilcoxon

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros