Synchronize Photo Collections by Date
- Clone repository
git clone [email protected]:rwwwx/synchronize_photo.git
- To run use:
cargo r -- YourName -- /full/path/to/your/photos
for example:cargo r -- Vlad -- /Users/vladyslav.matiukhin/Documents/photo_example
- Or use
cargo r --
to run this program onphoto_example
folder inside of project forMy
. - Or use
cargo r -- Lev
to run this program onphoto_example
folder inside of project forLev
.
Strictly follow the form of writing the date when naming day folders. Make sure your folder structure looks like this:
/// 2024-04-15 -> Lev -> Photo1, Photo2, Photo3
/// -> My -> Photo1, Photo5, Photo3
/// -> Denis -> Photo1, Photo2, Photo4
///
/// 2024-04-16 -> Lev -> Photo1, Photo2, Photo3
/// -> My -> Photo1, Photo5, Photo3
/// -> Denis -> Photo1, Photo2, Photo4
INFO [synchronize_photo] For day: '2024-04-15', you missing: [{PhotoId("6c08ca358619e651c500c84b00804dcb33e469a93c5115fbcd84748e698082a6")}] - we can find it in 'Denis' collection.
INFO [synchronize_photo] For day: '2024-04-16' no difference have been found.
INFO [synchronize_photo] For day: '2024-04-17', you missing: [{PhotoId("400f888284030bf535f20ca0a763af139760d1ef3aa34b741cc52506805b3560")}] - we can find it in 'Lev' collection.
INFO [synchronize_photo] For day: '2024-04-17', you missing: [{PhotoId("d25161be204e702671839e39be0afce1d91d47baa80d1213e7e07f91d205f386")}] - we can find it in 'Denis' collection.
INFO [synchronize_photo] For day: '2024-04-18', you missing: [{PhotoId("d25161be204e702671839e39be0afce1d91d47baa80d1213e7e07f91d205f386")}] - we can find it in 'Denis' collection.