Using Command Line Options

You can use command line options when you write in windows console or script: cdreditorc.exe or in unix/linux/osx terminal or script: with these parameters:
-b -i "[input_type:]input_path/filepattern" -f format_name [-o [output_type:]output_path/[filename]] [-t record_types] [-c fields] [-s "search_conditions"] [-d yyyyMMddHHmmss-yyyyMMddHHmmss]

Parameter descriptions:

  • input_type - ftp|sftp, example: -i "ftp:/username/password@server:port/path/cdr*"
  • input_path - path where application searching for files including subdirectories, example: -i "d:\test\cdr*"
  • filepattern - *|? - when you use glob pattern please enclose it in quotes, example: "file*"
  • output_type - txt|tsv|bin|ora|mys|pgs, example: -o ora:/username/password@database:port/server/table
  • record_types - example: -t Transit,mSOriginating
  • fields - example: -c CDR_File,CDR_Type,CDR_Number
  • search_conditions - when condition contains space, please enclose it in quotes example: -s "err12Imsi>=23102010 and err12Date<=20111023"
  • -d yyyyMMddHHmmss-yyyyMMddHHmmss - example: -d 20111024-20111026


  • -b -i "/temp/cdr*" -f Ericsson_R12
  • -b -i "/temp/cdr*" -f Ericsson_R12 -o ora:user/user@testdb:1531/server1/cdrtable
  • -b -i "sftp:suser/spass@server2/testpath/cdr*" -f Ericsson_R12 -o bin:/temp/test.bin
  • -b -i "/temp/cdr*" -f Ericsson_R12 -t Transit -c CDR_File,CDR_Type,CDR_Number -o tsv:/temp
  • cdreditorc.exe -b -i "c:\temp\cdr*" -f Ericsson_R12 -t Transit,mSOriginating -s "err12Imsi sw 23102010"
  • cdreditorc.exe -b -i "sftp:suser/spass@server2:5230/testpath/cdr*" -f Ericsson_R12 -t mSOriginating -s "err12Imsi nsw 23102010"