file deletion in a directory with some conditions .
- From: aki <akhileshrawat007@xxxxxxxxx>
- Date: Thu, 31 Jul 2008 02:54:00 -0700 (PDT)
Hi All,
I describe the problem as below.
A directory( path known) , contains 0 to any number of files .
The file names are with following structure :
OMCID_NETYPE_NENAME_NAMEOFTHEAPPLIEDFILE_APPLYDATE_trans.csv
For example :
4_TC_TC_48_NoSTConfiguration_1971-1-1_trans.csv
where
OMCID =4
NETYPE= TC
NENAME= TC_48
NAMEOFTHEAPPLIEDFILE=NoSTConfiguration
APPLYDATE=1971-1-1
i have to perform delete operation on the file with matching three
fields .
OMCID , NETYPE, NENAME (All three known )
Could somebody try to answer the problem . or tel how to proceed
Regards
Aki
.
- Follow-Ups:
- Re: file deletion in a directory with some conditions .
- From: santosh
- Re: file deletion in a directory with some conditions .
- Prev by Date: Re: $ & _
- Next by Date: Re: [BC] C tutorial q4
- Previous by thread: A basic question question about volatile use
- Next by thread: Re: file deletion in a directory with some conditions .
- Index(es):
Relevant Pages
|