May 9, 2014 at 1:08 am
Hi,
I have a folder which receive the CDR and CMR files sended by Cisco.
There is no datetime for them,but I wish to move on another folders separated CDR from CMR files(cdr_FNG-CMCR-101-Cluster_14_201405081230_771199 and cmr_FNG-CMCR-101-Cluster_19_201405081229_771167 are in this format) .
How could I achieve this?
Thanks,
Hadrian
May 9, 2014 at 1:26 am
Sorry there is a datetime fraction like 201405081229
May 9, 2014 at 1:36 am
Hadrian (5/9/2014)
Hi,I have a folder which receive the CDR and CMR files sended by Cisco.
There is no datetime for them,but I wish to move on another folders separated CDR from CMR files(cdr_FNG-CMCR-101-Cluster_14_201405081230_771199 and cmr_FNG-CMCR-101-Cluster_19_201405081229_771167 are in this format) .
How could I achieve this?
Thanks,
Hadrian
Use two Foreach Loop Containers, and set it to Foreach File Enumerator, one with the Files parameter set to cdr_* and the other with cmr_*. Inside each, use a File System Task to move the files.
😎
May 9, 2014 at 3:41 am
Eirikur Eiriksson (5/9/2014)
Hadrian (5/9/2014)
Hi,I have a folder which receive the CDR and CMR files sended by Cisco.
There is no datetime for them,but I wish to move on another folders separated CDR from CMR files(cdr_FNG-CMCR-101-Cluster_14_201405081230_771199 and cmr_FNG-CMCR-101-Cluster_19_201405081229_771167 are in this format) .
How could I achieve this?
Thanks,
Hadrian
Use two Foreach Loop Containers, and set it to Foreach File Enumerator, one with the Files parameter set to cdr_* and the other with cmr_*. Inside each, use a File System Task to move the files.
😎
Well, that's the looping slow way :hehe:
Alternatively, why not just use an Execute Process task to issue a couple of old-fashioned DOS copy commands to do it in one hit?
The absence of evidence is not evidence of absence
- Martin Rees
The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
- Phil Parkin
May 9, 2014 at 3:59 am
Phil Parkin (5/9/2014)
Eirikur Eiriksson (5/9/2014)
Hadrian (5/9/2014)
Hi,I have a folder which receive the CDR and CMR files sended by Cisco.
There is no datetime for them,but I wish to move on another folders separated CDR from CMR files(cdr_FNG-CMCR-101-Cluster_14_201405081230_771199 and cmr_FNG-CMCR-101-Cluster_19_201405081229_771167 are in this format) .
How could I achieve this?
Thanks,
Hadrian
Use two Foreach Loop Containers, and set it to Foreach File Enumerator, one with the Files parameter set to cdr_* and the other with cmr_*. Inside each, use a File System Task to move the files.
😎
Well, that's the looping slow way :hehe:
Alternatively, why not just use an Execute Process task to issue a couple of old-fashioned DOS copy commands to do it in one hit?
That was indeed my first thought but this is simpler. I don't think that the CDRs are generated at such rate that it matters:-P
😎
May 12, 2014 at 12:20 am
thanks for your sugesstions,
I tried with execute task,looks well,but sometimes I found moving one cmr inside cdr folder ,there are a lot of cdr and cmr files coming.
I will investigate more and also the second solution,
One again thank you the time .
Best Wishes,
Hadrian
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply