I’m trying to copy a large amount of files from one location to another.
This is a daily scheduled task, and I don’t want to have to overwrite all
the files every time (I’m only interested in the new ones).
Ideally, I want cfdirectory action=“copy” recurse=“true”
nameconflict=“skip”, but that doesn’t seem to be an option, even though it
appeared to be in the discussion
here: https://issues.jboss.org/browse/RAILO-2193
Am I missing something? The docs seems a bit sparse on this particular
topic.
Not sure about the cfdirectory question, but if the only requirement is to
copy files from one location to another, why use CF and a scheduled task?
Tools like rsync make this easy and fail proof.
Hope it helps.
JeanOn Thu, Jan 7, 2016 at 10:49 AM, Tom Miller <@Tom_Miller> wrote:
I’m trying to copy a large amount of files from one location to another.
This is a daily scheduled task, and I don’t want to have to overwrite all
the files every time (I’m only interested in the new ones).
Ideally, I want cfdirectory action=“copy” recurse=“true”
nameconflict=“skip”, but that doesn’t seem to be an option, even though it
appeared to be in the discussion here: https://issues.jboss.org/browse/RAILO-2193
Am I missing something? The docs seems a bit sparse on this particular
topic.
I’d normally agree - but this is an s3 sync within an AMI that I
cannot spec. My only option is a cfml script as that’s all I know will
be running on the server…
On Thursday, January 7, 2016 at 8:42:46 PM UTC, Andrew Dixon wrote:
With Jean on this one, right tool for right job and I don't think
Lucee (or CFML in general) is the right tool.
Kind regards,
Andrew
about.me <http://about.me/andrew_dixon> - mso
<http://www.mso.net> - Lucee Association Member <http://lucee.org>
On 7 January 2016 at 19:27, Jean Moniatte <je...@ugal.com <javascript:>> wrote:
Not sure about the cfdirectory question, but if the only
requirement is to copy files from one location to another, why
use CF and a scheduled task? Tools like rsync make this easy
and fail proof.
Hope it helps.
Jean
On Thu, Jan 7, 2016 at 10:49 AM, Tom Miller <tom.m...@ebiz.co.uk <javascript:>> wrote:
I'm trying to copy a large amount of files from one
location to another. This is a daily scheduled task, and I
don't want to have to overwrite all the files every time
(I'm only interested in the new ones).
Ideally, I want cfdirectory action="copy" recurse="true"
nameconflict="skip", but that doesn't seem to be an
option, even though it appeared to be in the discussion
here: https://issues.jboss.org/browse/RAILO-2193
<https://issues.jboss.org/browse/RAILO-2193>
Am I missing something? The docs seems a bit sparse on
this particular topic.
Thanks,
Tom.
--
Love Lucee? Become a supporter and be part of the Lucee
project today! -
http://lucee.org/supporters/become-a-supporter.html
<http://lucee.org/supporters/become-a-supporter.html>
---
You received this message because you are subscribed to
the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails
from it, send an email to lucee+un...@googlegroups.com
<javascript:>.
To post to this group, send email to
lu...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/fd78d0c6-186c-473e-bdae-018824cae5dd%40googlegroups.com
<https://groups.google.com/d/msgid/lucee/fd78d0c6-186c-473e-bdae-018824cae5dd%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
Love Lucee? Become a supporter and be part of the Lucee
project today! -
http://lucee.org/supporters/become-a-supporter.html
<http://lucee.org/supporters/become-a-supporter.html>
---
You received this message because you are subscribed to the
Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from
it, send an email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com
<javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/CAG-7QUsuvx0x8nXnwWkEXPMt%2Bw3o0p7OQYxLfYO8-CQyun8S9g%40mail.gmail.com
<https://groups.google.com/d/msgid/lucee/CAG-7QUsuvx0x8nXnwWkEXPMt%2Bw3o0p7OQYxLfYO8-CQyun8S9g%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
–
Love Lucee? Become a supporter and be part of the Lucee project today!
Just says “skip” is not a valid attribute. Attributes are “overwrite
(merge), error”
On Thursday, January 7, 2016 at 8:50:27 PM UTC, Igal wrote:
Tom,
Which part doesn't work? The "skip"? Do you get an error or it
just goes to copy the directory?
Igal Sapir
Lucee Core Developer
Lucee.org <http://lucee.org/>
On 1/7/2016 12:47 PM, Tom Miller wrote:
I'd normally agree - but this is an s3 sync within an AMI that I
cannot spec. My only option is a cfml script as that's all I know
will be running on the server...
On Thursday, January 7, 2016 at 8:42:46 PM UTC, Andrew Dixon wrote:
With Jean on this one, right tool for right job and I don't
think Lucee (or CFML in general) is the right tool.
Kind regards,
Andrew
about.me <http://about.me/andrew_dixon> - mso
<http://www.mso.net> - Lucee Association Member
<http://lucee.org>
On 7 January 2016 at 19:27, Jean Moniatte <je...@ugal.com> wrote:
Not sure about the cfdirectory question, but if the only
requirement is to copy files from one location to
another, why use CF and a scheduled task? Tools like
rsync make this easy and fail proof.
Hope it helps.
Jean
On Thu, Jan 7, 2016 at 10:49 AM, Tom Miller <tom.m...@ebiz.co.uk> wrote:
I'm trying to copy a large amount of files from one
location to another. This is a daily scheduled task,
and I don't want to have to overwrite all the files
every time (I'm only interested in the new ones).
Ideally, I want cfdirectory action="copy"
recurse="true" nameconflict="skip", but that doesn't
seem to be an option, even though it appeared to be
in the discussion here:
https://issues.jboss.org/browse/RAILO-2193
Am I missing something? The docs seems a bit sparse
on this particular topic.
Thanks,
Tom.
--
Love Lucee? Become a supporter and be part of the
Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html
---
You received this message because you are subscribed
to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving
emails from it, send an email to
lucee+un...@googlegroups.com.
To post to this group, send email to
lu...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/fd78d0c6-186c-473e-bdae-018824cae5dd%40googlegroups.com.
For more options, visit
https://groups.google.com/d/optout.
--
Love Lucee? Become a supporter and be part of the Lucee
project today! -
http://lucee.org/supporters/become-a-supporter.html
<http://lucee.org/supporters/become-a-supporter.html>
---
You received this message because you are subscribed to
the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails
from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/CAG-7QUsuvx0x8nXnwWkEXPMt%2Bw3o0p7OQYxLfYO8-CQyun8S9g%40mail.gmail.com.
For more options, visit
https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
Love Lucee? Become a supporter and be part of the Lucee project
today! - http://lucee.org/supporters/become-a-supporter.html
<http://lucee.org/supporters/become-a-supporter.html>
---
You received this message because you are subscribed to the
Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com
<javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/60fb10cf-7557-43ee-a113-c8b8e503a2c4%40googlegroups.com
<https://groups.google.com/d/msgid/lucee/60fb10cf-7557-43ee-a113-c8b8e503a2c4%40googlegroups.com>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
–
Love Lucee? Become a supporter and be part of the Lucee project today!
I’d normally agree - but this is an s3 sync within an AMI that I cannot
spec. My only option is a cfml script as that’s all I know will be running
on the server…
On Thursday, January 7, 2016 at 8:42:46 PM UTC, Andrew Dixon wrote:
With Jean on this one, right tool for right job and I don’t think Lucee
(or CFML in general) is the right tool.
On 7 January 2016 at 19:27, Jean Moniatte je...@ugal.com wrote:
Not sure about the cfdirectory question, but if the only requirement is
to copy files from one location to another, why use CF and a scheduled
task? Tools like rsync make this easy and fail proof.
I’m trying to copy a large amount of files from one location to
another. This is a daily scheduled task, and I don’t want to have to
overwrite all the files every time (I’m only interested in the new ones).
Ideally, I want cfdirectory action=“copy” recurse=“true”
nameconflict=“skip”, but that doesn’t seem to be an option, even though it
appeared to be in the discussion here: https://issues.jboss.org/browse/RAILO-2193https://issues.jboss
.org/browse/RAILO-2193
Am I missing something? The docs seems a bit sparse on this particular
topic.
Thanks,
Tom.
–
Love Lucee? Become a supporter and be part of the Lucee project today!
When used with action=“copy” the possible values are: [Overwrite]|Error.
When used with action=“create” the possible values are: [Error]|Skip.
Ignored for all other actions.
no mention of merge
On 8 January 2016 at 07:34, Igal @ Lucee.org <@Igal> wrote:
What version are you running? Can you please copy and paste the exact
message that you see?
I’d normally agree - but this is an s3 sync within an AMI that I cannot
spec. My only option is a cfml script as that’s all I know will be running
on the server…
On Thursday, January 7, 2016 at 8:42:46 PM UTC, Andrew Dixon wrote:
With Jean on this one, right tool for right job and I don’t think Lucee
(or CFML in general) is the right tool.
On 7 January 2016 at 19:27, Jean Moniatte je...@ugal.com wrote:
Not sure about the cfdirectory question, but if the only requirement is
to copy files from one location to another, why use CF and a scheduled
task? Tools like rsync make this easy and fail proof.
I’m trying to copy a large amount of files from one location to
another. This is a daily scheduled task, and I don’t want to have to
overwrite all the files every time (I’m only interested in the new ones).