Improved usage description.

This commit is contained in:
Stephan
2023-11-22 23:01:24 +01:00
parent 53e5439095
commit a3a8a73111

View File

@@ -1,7 +1,14 @@
Photosync copies all you photos (or other files) to a new destination folder. Photosync copies all you photos to a new destination folder.
It separates them into folders of the structure yyyy/yyyy_mm_dd/ in the target folder. when setting an ssh server, the target folder may exist there. ## what it does
It separates the photos into folders of the structure yyyy/yyyy_mm_dd/ in the target folder, using exif data from the file. When setting an ssh server, the target folder may exist there.
It can change the prefix from the generic "IMG_" to something you like. I use that to distinguish photos taken with different cameras, my daughters or my wifes… It can change the prefix from the generic "IMG_" to something you like. I use that to distinguish photos taken with different cameras, my daughters or my wifes…
Optionally a "last" symlink identifies the latest file of the last run, so not everything in the source folder is copied or checked against the target again. Optionally a "last" symlink identifies the latest file of the last run, so not everything in the source folder is copied or checked against the target again.
## how to use
Configure your target using the [photosync.conf](photosync.conf) example. On the command line use the parameter -c to set that file as parameter and -f to set the source folder.
```
$ ./photosync.sh -c photosync.conf -f ./my_photo_mix
```