Page 1 of 1

Possible set batch files operation (copy/paste/replace)?

Posted: 03 May 2016 15:33
by cadu
Possible set batch files operation (copy/paste/replace)?

Hi,

Regularly (once a week) I need to update several files, from "source" to "destiny".
The operation is basically copy from "source", paste to "destiny", replace if file exist in destiny.
I am looking for ways to automate this process by batching copy/paste/replace the files. I mean, I would like to "press" something and all files would be updated in "destiny".
Does XYplorer provide this functionality?

Many thanks for info,
Cadux

Re: Possible set batch files operation (copy/paste/replace)?

Posted: 03 May 2016 15:52
by highend
It's called scripting...

Re: Possible set batch files operation (copy/paste/replace)?

Posted: 03 May 2016 16:49
by cadu
I took a look at scripting menu. It will be my first time using it in XYplorer.

Could anyone share a script sample about how to copy/paste at least two files from/to different sources/destinations?

By having this sample I'm sure I can develop it further.

Thanks for help!

Cadux

Re: Possible set batch files operation (copy/paste/replace)?

Posted: 03 May 2016 16:56
by highend
Simple sample:

foreach loop {
backupto ...
}