Skip to content

sthiyaga/dataloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dataloader

Force.com Apex Data Loader for Linux/Mac - command line version

This project provides the missing configuration and scripts for running the Apex Data Loader from Linux or Mac command line. The Apex Data Loader provided by Salesforce.com is for Windows only but it is a Java jar file that can be run on any platform that supports a JDK. The scripts are solely for executing the data loader from a command line and do not provide the GUI that is available in the Windows and the open source Mac versions.

The open source version of dataloader is available from: https://github.com/forcedotcom/dataloader

##Requirements:

  1. Java 1.6+, available in the PATH

  2. DataLoader JAR file from Windows or built from the open source project. (The current name/version of the jar file is: dataloader-30.0.0-uber.jar)

##Steps:

  1. Clone this project
$ git clone https://github.com/sthiyaga/dataloader.git
  1. Copy the dataloader-30.0.0-uber.jar file to dataloader/ directory
  2. Generate the private key to encrypt the password
$ bin/encrypt.sh -g <some-random-seed-text> 
  1. Copy the output from Step 3 above to conf/private.key (replacing the text in there)
  2. Encrypt the salesforce password (+security token, if required) using the generated private key
$ bin/encrypt.sh -e "password+security token" conf/private.key
  1. Copy the output from Step 4 above to the conf/config.properties file for the sfdc.password token
  2. Update the conf/config.properties file with sfdc.username and sfdc.endpoint token values
  3. Optionally, adjust any other parameters in the conf/config.properties file
  4. Run the sample account extract process
$ bin/process.sh csvAccountExtractProcess

This should produce the output file in the data/ directory and if the debug log was enabled, the trace file in the status/ directory.

Enjoy!

-Senthil

About

Force.com Apex Data Loader for Linux/Mac command line version

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages