I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-01-28 23:11:40-08 by bv
How to copy a AVI file to 2 different locations

Hi Phil

I want to rename a Canon AVI file based on the "DateTimeOriginal" and move it to say Q:\Photos and take the original and move it to F:\Files\Original.

The Problem with the code below, it that the file no longer exists in Block 2 to move the original file as Block 1 already made it disappear. Is there anyway to force the file to write to target and leave source alone?

For non AVI files (JPG, CR2, THM, etc...), I add a -comment and other tags to Block 1 and that will force the new file to be renamed leaving the original intact. Since you do not support the writing of AVI files, that does not work. Any Suggestions?

This is the ARG file code:

-P -d Q:/Photos/%Y_%m_%d/%Y-%m%d-%H%M%S -filename<${DateTimeOriginal}_%3f-%.4f%-2c.%ue -execute -P -d F:/Photos/Original/%Y_%m_%d/ -FileName<${DateTimeOriginal}%f%-2c.%e -Execute
Direct Responses: 6963 | Write a response