JBlocklove / remarkable-daily-pdf

MIT License
10 stars 1 forks source link

Can't Handle Multiple Directories With the Same Name #7

Closed JBlocklove closed 5 months ago

JBlocklove commented 1 year ago

I was testing and had a '2022' folder in my trash, which led to the crossword getting downloaded to that folder. Because this system parses the folder hierarchy based on the visible name, if there are multiple folders with the same name it will always pick whichever has the lower UUID.

Not sure how best to fix this yet, or even if it's worth fixing.

JBlocklove commented 1 year ago

Definitely worth fixing. The way I organized my crosswords was in folders based on month so all of the months that overlap between years aren't handled correctly. I'll have to add some kind of directory traversal that can ensure that it's picking the UUID of the correct parent directory based on the full path.

JBlocklove commented 6 months ago

Also can't handle files with the same name. I really didn't think through some of the issues with a flattened filesystem like this when I made this project...