akrabat / rodeo

A command line tool to work with Flickr and images
MIT License
16 stars 4 forks source link

Multiple files of the same name #45

Open thehilll opened 2 years ago

thehilll commented 2 years ago

I haven't actually run into this issue, but looking at rodeo-uploaded-files.json it seems to have only the file name, not the full path:

{
  "DSCF1493.jpg": "123..."
}

Looking at my photo library...I have multiple images that will have the same file name. These are from different cameras years apart that use the same naming sequence.

Will there be name collisions where rodeo will think a file has been uploaded, but really it was a different file of the same name?

Thank you.

akrabat commented 2 years ago

Yes, there will be as it's not a clever system. You can choose to have it store the list of uploaded files in the directory where there the file is, so you could just delete the file so that rodeo forgets.

It would make sense to have a setting to disable this feature though.

thehilll commented 2 years ago

Oh, but store_uploaded_list_in_image_dir: true would then avoid this problem. That's great. Thanks.