<div dir="ltr"><div><div><span style="font-size:12.8px">Dear users,</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">My pictures are stored in a directory tree like this example:</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">2011</span></div><div><span style="font-size:12.8px"> |-----20111111</span></div><div><span style="font-size:12.8px"> |-----20111225</span></div><div><span style="font-size:12.8px">2012</span></div><div><span style="font-size:12.8px"> |-----20120301</span></div><div><span style="font-size:12.8px"> |-----20120301</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">For sure this structure should be efficient to sort my albums by location in the left panel, but only if I did not made some mistakes in some folder names.</span></div><div><span style="font-size:12.8px">I could rename them but it's not so simple because this directory tree is share with some others softwares.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">So I would like to sort my album by their dates. But when we have more than 1000 folders, I don't wants to do that manually.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I've analyzed the database schema and I have found that there is a field called date in the album table. Nice!</span></div><div><span style="font-size:12.8px">So I build a shell script which analayse my folders names to build the appropriate SQL updates.</span></div><div><span style="font-size:12.8px">And I have applied these updates....</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">But for sure, If I write you it's because I had some issues: after applying the SQL updates, almost all my folders had now the appropriate date in the date field.</span></div><div><span style="font-size:12.8px">But some folders have disappear from the directory tree on the left panel.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">So my question is: are there some triggers in database or on the software code source which can explain why these folders have disappear? or If I update the date field in the album table it's like setting the album date from the left panel?</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Kind regards</span></div></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Matthieu</span></div></div>