Re: importing specific files, using regex or patterns



On Sat, 2009-10-17 at 19:46 +1100, Nick Urbanik wrote:
> I am using f-spot for the first time with a large collection of family
> photos.  I want to exclude the thumbnails matching /-thumb\.jpg$/.  I
> don't see how, and google hasn't pointed a way either.  Any ideas
> please?

You could try something like this outside of F-Spot:

$ cd <your-photo-dir>
$ find ! -iwholename '*-thumb.jpg/' -exec cp --parents {}\
<some-other-empty-dir> \;

... and then import those photos into your library.

P.S.: I couldn't get what you're really trying to exclude, thus you may
need to adjust -iwholename '*-thumb.jpg/' part as needed.

Regards,
-- 
Ali Servet Donmez <asd pittle org>

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]