Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

I've been using Lexiloader on Mac OS X as a drop-in replacement for the windows-only Apex Data Loader, but it doesn't seem to include the process command that provides command line support in ADL. Is there a Mac equivalent anywhere to Apex Data Loader's command line support?

share|improve this question
    
Hopefully you'll get a good answer, but if not here are a couple of blog entries that might (or might not) help force201.wordpress.com/2011/01/20/… force201.wordpress.com/2010/10/15/…;. –  Keith C Mar 19 at 18:10
    
I'm a big fan of Jitterbit Data Loader. It allows you to schedule jobs to run with no command line needed. –  Daniel Hoechst Mar 19 at 20:45
add comment

1 Answer 1

up vote 5 down vote accepted

Figured out how to do this using Lexiloader, by referring to process.bat that comes with the official (Windows) Apex Data Loader, which just runs a Java class in the dataloader jar.

Here's a sample Windows command:

process confDir csvInsertArtist

And here's the equivalent OS X command line (assumes LexiLoader v.29 installed in /Applications, adjust path if you have another version/install location):

java -cp /Applications/LexiLoader_v29.app/Contents/Resources/Java/Dataloader.jar -Dsalesforce.config.dir=confDir com.salesforce.dataloader.process.ProcessRunner process.name=csvInsertArtist

Otherwise, everything works like the windows version - you use the same process-conf.xml file, etc. Likewise, the encrypt command included with the Windows version can be run with:

java -cp /Applications/LexiLoader_v29.app/Contents/Resources/Java/Dataloader.jar com.salesforce.dataloader.security.EncryptionUtil

which will give you usage information.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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