Re: importing specific files, using regex or patterns



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)
--
Jon-o Addleman - http://www.redowl.ca


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