On dimanche 5 février 2017 09:56:26 CET Francesco Scaglioni wrote: > Hi > > On 04/02/17 16:59, Patrick Shanahan wrote: > > * Francesco Scaglioni <[email protected]> [02-04-17 11:50]: > > > > Explain more to me the problem with dt not preserving the directory > > structure. And I do not know if dt's moves are recursive, you may need to > > move each individual directory. > > I can create the new folder structure locally that is not a problem. > > The existing structure is : > > home//me/Photos/year/month/projects( maybe up to 4 or 5 )/? sub-projects > > If I ask DT to import recursively eg 2013 it will load the images from > all sub-folders. If I then ask DT to copy or move them to a new 2013 > destination it will do so but the folder structure below the original > 2013 is not recreated in the new target folder and all images end up > getting placed in the new 2013 folder root. > > With images going back to 2003, generally 12 sub-folders per year and > then sub-sub folders below that doing the whole thing one folder at a > time would be a real PITA. > > Googling the issue resulted in a post from 2014 that suggested manually > editing the DB to change image paths - again, not only does this sound > risky but would need to be done for every folder thus not much to gain > over using the GUI. What I was looking for was a way to eg select > 2013/* and move it en bloc whilst preserving the existing directory > structure below 2013. > > Cheers > > Francesco > ____________________________________________________________________________ > darktable user mailing list > to unsubscribe send a mail to [email protected]
Does darktable have a problem with symbolic links? If not, why not have: "/home/me/Photos/2017/..." for current year as direct storage on SSD "/home/me/Photos/2016" as a symbolic link to "/home/me/media/photos/2016" ? And the same for 2003--2015, so 14 folders to move, 14 symlinks to create; sounds like a job for a bash script. Note that the number of folders under the year is not important here. At the end of the year: *close DarkTable* move /home/me/Photos/2017/... to /home/me/media/photos/ create a new directory for 2018 create a symlink for 2017 This way, you keep the original folder structure. Indeed, changing the folder structure is going to cause a lot of work, but as long as it's repetitive, scripting should be possible, as it's basically changing a *part* of the pathname in a known and constant way. (Oh, and please ONLY reply to the mailing list. I'll read any follow-ups there, and have no need to receive 2 copies) Remco ____________________________________________________________________________ darktable user mailing list to unsubscribe send a mail to [email protected]
