Re: importing specific files, using regex or patterns



On Sat, 2009-10-17 at 09:44 -0400, Jonathan Addleman wrote:
> Ali Servet Donmez wrote:
> > 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> \;
> 
> Though better to just use ln instead of cp. It'd be a *lot* faster and
> take less disk space! If you use hard links, there would be no
> difference for the importing at all, (though it'd need to be on the same
> filesystem, and a filesystem that supports linking of course)

Fair enough.

-- 
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]