Skip to content

Commit

Permalink
fix: updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hknokh2 committed Mar 3, 2024
1 parent 33e105f commit f3ac349
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Running the Plugin from the command console / terminal:

### Prerequisites.

Before using the SFDMU you need to perform the usual procedure of installing SFDX CLI on your computer from here:
Before using the SFDMU you need to perform the usual procedure of installing SF CLI on your computer from here:

```bash
https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm
Expand All @@ -98,17 +98,17 @@ https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfd

```bash
# If you have an old version of the Plugin, uninstall it:
$ sfdx plugins:uninstall sfdmu
$ sf plugins uninstall sfdmu

# Install the latest version of the Plugin:
$ sfdx plugins:install sfdmu
$ sf plugins install sfdmu
```

### Installation with the SFDMU source code:

```bash
# If you have outdated source code already cloned and linked, go to the directory containing old Plugin source code and unlink it from the SFDX by typing:
$ sfdx plugins:unlink
$ sf plugins unlink

# Clone the source code:
$ git clone https://github.com/forcedotcom/SFDX-Data-Move-Utility
Expand All @@ -120,7 +120,7 @@ $ cd SFDX-Data-Move-Utility
$ npm install

# Link the Plugin to the SFDX:
$ sfdx plugins:link
$ sf plugins link
```


Expand Down Expand Up @@ -192,23 +192,32 @@ You can Upsert all records preserving relationships between SObjects by creating
- Use the following command to run a direct migration between source and target salesforce orgs:

```bash
$ sfdx sfdmu:run --sourceusername [email protected] --targetusername [email protected]
$ sf sfdmu run --sourceusername [email protected] --targetusername [email protected]
```

- For import data from CSV files:

```bash
$ sfdx sfdmu:run --sourceusername csvfile --targetusername [email protected]
$ sf sfdmu run --sourceusername csvfile --targetusername [email protected]
```

- For export data into CSV files:

```bash
$ sfdx sfdmu:run --sourceusername [email protected] --targetusername csvfile
$ sf sfdmu run --sourceusername [email protected] --targetusername csvfile
```

<br />

##### Notes:

- When installing and running the SFDMU on MacOS you can sometimes run into a permission issue. If so, just prepend all above command with "**sudo**", e.g.:

*$ sudo sf plugins install sfdmu*

- All examples are provided with the assumption that you are using the current **SF CLI** platform. However, if you are operating under the outdated **SFDX CLI** platform, you should replace ```sf``` by ```sfdx``` and ```:``` by a space, for example:
```sfdx plugins:install sfdmu``` instead of ```sf plugins install sfdmu```


----

Expand Down

0 comments on commit f3ac349

Please sign in to comment.