I am trying to export data using CLI data Loader. Can I dynamically assign the export file name with the system date and time stamp.

Any suggestions would be appreciated!


  • 1
    Given CLI uses Spring Framework, you would need to search and see if there is a way to return the current date time with that framework. I just did a few searches and didn't find anything straightforward. Most results appeared to require adding a method to the jar file - which means recompiling and building your own version of CLI (I would not suggest this); maybe dataloader CLI has one natively. Given the framework supports it, I would say yes, it's possible... just not sure how to go about marking up the process-conf.xml to do so. – zainogj Apr 12 '16 at 13:41
  • Even I'm facing same issue. Anyone have answer to this?? – user31026 Apr 26 '16 at 22:34

Unless someone finds a way to do it from within data loader, I'd set up the .bat job to rename the files after the extraction is run.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.