On Thu, Sep 19, 2013 at 01:39:05PM +1000, Russell Coker wrote:
> On Wed, 18 Sep 2013, "Trent W. Buck" <[email protected]> wrote:
> > Or just not care that you might be doing unnecessary work. :-)
> > There is something to be said for the simplicity of "cc *.c".
> 
> In this case converting a movie from one video format to another can take an 
> hour, running such a conversion on all my movies and youtube videos would 
> probably take both CPU cores of my server for several days.  I really don't 
> want to do it needlessly.

i figure you know this but for other readers, i'll point out that another
way to cater for this without using a Makefile is to move the original file
somewhere else after it has been processed.

e.g. i've used a ./originals/ or similarly-named subdirectory and mv the
original file into it after processing. also makes it easy to delete
them all later.

alternatively, you can check to see if the target file already exists
before doing the conversion (you'd have to manually delete the targets
if you wanted to re-run the conversion with different options)

craig

-- 
craig sanders <[email protected]>
_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to