[KPhotoAlbum] Patch to ignore symlinks when reading files

Robert Krawitz rlk at alum.mit.edu
Tue Jan 4 14:21:15 GMT 2011


On Tue, 04 Jan 2011 14:57:08 +0100, =?UTF-8?B?SmFuIEt1bmRyw6F0?= wrote:
>
> On 01/04/11 13:56, Robert Krawitz wrote:
>> I'm creating panorama or HDR images using a set of individual shots,
>> each in their own directory.  I export the selected shots as symlinks
>> pointing back into my main image tree and build the panorama.  After
>> doing this, I move the directory with the panorama -- and the symlinks
>> back to the source files -- into my main image directory.  I want kpa
>> to find the new panorama, but to ignore the symlinks pointing back to
>> the actual image files.
>
> Thanks for clarifying. I'm still not sold on that idea, though, maybe
> because I use symlinks for making images *available* in the first place.
> What you're doing looks (to me) as a broken way to do things; if I
> understand you correctly, you simply copy a file along with a bunch of
> semi-random symlinks and want KPA to ignore the symlinks, and that looks
> fishy to me. Maybe you can name them with something special and then
> setup a regular expression for ignoring them?

If I were to use symlinks to pull files in, I'd pull in entire
directories, not individual files.

Otherwise, to me it looks like being a symlink is simply another
property that can be used in an include/exclue decision.



More information about the Kphotoalbum mailing list