Skip to content

Commit

Permalink
Better example command for Windows cmd users
Browse files Browse the repository at this point in the history
Single quotes aren't actually used as quotes there, so need to use double quotes, and the escape character is `^`.
  • Loading branch information
Philipp91 committed Aug 14, 2022
1 parent ace4226 commit c80f8c3
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions README.md
Expand Up @@ -53,12 +53,19 @@ metadata sync settings in digiKam, digiKam itself may (or not) write some of the
have multiple, you must repeat this and the following steps for each root directory separately.
4. Wait for the "Find new items" job to complete (see progress bar at the bottom, wait until it says "No active process"
there). You should now see all your photos in digiKam already, but without their stars and tags.
5. Execute a dry run:
5. Execute a dry run. Under Linux, it might look sth like this:
```bash
./main.py --dry_run \
--photos_dir='C:\Users\user\...' \
--digikam_db='C:\Users\user\...\digikam4.db' \
--contacts='%LocalAppData%\Google\Picasa2\contacts\contacts.xml'
--photos_dir='/home/user/Pictures' \
--digikam_db='/home/user/snap/digikam/common/digikam4.db' \
--contacts='/mnt/WinDrive/Users/user/AppData/Local/Google/Picasa2/contacts/contacts.xml'
```
And when using the Windows Command Prompt (cmd), it might look like this:
```cmd
python main.py --dry_run ^
--photos_dir="C:\Users\user\Pictures" ^
--digikam_db="C:\Users\user\Pictures\digikam4.db" ^
--contacts="%LocalAppData%\Google\Picasa2\contacts\contacts.xml"
```
In this command, `--photos_dir` must point to the same directory you configured in step 3 above, or a sub-directory
thereof, and `--digikam_db` must point to the `digikam4.db` file under the directory configured in step 2 above.
Expand Down

0 comments on commit c80f8c3

Please sign in to comment.