GNOME Bugzilla – Bug 344426
Auto tag pictures based on directory structure or directory name pattern
Last modified: 2018-07-12 00:03:27 UTC
People with a large number of pictures usually have already organized their pictures in directories. The task of re-tagging is extremelly tedious when you have 10 or 20 or more GB of pictures that you want to manage with f-spot. I'd like to see an import option that would tag the pictures based on the name or a set of tags formed from the directory name. e.g. Family 1998-12-24 Christmas in grandma house pic001.jpg pic002.jpg ... 1999-01-16 Tonys birthday ... Travel 2001-02-15 Cancun Hollidays with Jane ... etc... With the previous structure, F-spot would add a tag to the picture for each of the folder names in its directory tree. pic001.jpg would have two tags: "Family" and "1998-12-24 Christmas in grandma house" An extension to this feature would be to actually build the tags from the folder or file name using a pattern in my example the pattern could be "date title".
Another vote for this (I know, it probably won't make any difference...). I'd really like to use f-spot - the interface looks great - but this is the one missing feature that's stopping me. In terms of ui/design, I'd be very happy with just something as simple as two new command line options: f-spot --create-tag foo f-spot --import directory --tag foo --tag bar So then I could simply create a script to extract the relevant information from the path, create new tags then import the photos with the tags. If you do implement these new command line options then they can be used by many people with lots of different import requirements, not just path based - they would all just create small import scripts to extract whatever tag info they want from wherever and then call f-stop --import XYZ --tag foo.
Mark (comment #1), your suggestions about extending the command line looks great ! I'm not in favor of adding GUI options for this, because it's a mainly a one-use functionnality.
I don't know what you mean by calling this a one-use functionnality. I import from existing directory structures all the time, just like the original poster. It would be great if there were an option on the import screen to create a tag using the directory name. Once imported, I can view the photos using the dirctory tag and I might add new tags and maybe delete the automatically generated tag.
*** Bug 427888 has been marked as a duplicate of this bug. ***
Adding a consideration from #427888: Sde: Which part of the directory patch should be translated to tag ? only the last part ? full path ? full uri (if imported from something different than file:///)? Bengt: Good question, and something that needs to be sorted out. How about allowing the user a few different options? Configurable in Preferences perhaps? URI: /home/share/Photos/Vacations/1999/Summer/Greece/<pictures> 1) Breaking apart the URI into each folder, and store each folder as its own tag. Tags: home, share, Photos, Vacations, 1999, Summer, Greece 2) Ignore first X folders Tags (with X = 3): Vacations, 1999, Summer, Greece 3) Full URI Tags (One tag only): /home/share/Photos/Vacations/1999/Summer/Greece The second alternative, with skipping the first X folders (/usr/share/Photos for instance), and using each folder name as a separate tag after that, should create a very good Tag system for every user using Folder Structures today. Or?
*** Bug 589624 has been marked as a duplicate of this bug. ***
F-Spot has moved to https://github.com/f-spot/f-spot/issues If this Bugzilla ticket is still valid in a recent version of F-Spot, please feel free to post this topic as a ticket in the F-Spot project on GitHub. Closing this report as WONTFIX as part of Bugzilla Housekeeping as we are planning to shut down GNOME Bugzilla in favor of GNOME Gitlab.