Page 1 of 1

rootpath for backupto?

Posted: 16 Sep 2011 20:24
by tiago
Is there any trick I can use so I can get the rootpath effect applied to backupto()?

Re: rootpath for backupto?

Posted: 19 Sep 2011 09:55
by admin
Currently not, but you can use copyto() and enable Custom Copy. That would be equivalent to backupto() if you configure Custom Copy via GUI instead of via scripting function parameters.

Re: rootpath for backupto?

Posted: 21 Sep 2011 17:59
by tiago
cool tip, thanks. It never comes to mind that custom copy allows preservation of items dates, so that trick may do it for me.

Re: rootpath for backupto?

Posted: 02 Oct 2011 17:25
by tiago
backupto() lacks rootpath support and I still miss it as we don't have a correspondent script settings() for move/copy/back to change them on the fly as far as I can see. Backupto() has everything!
copyto() lacks on_collision support as I'm still being prompted on folder and file replacement ("confirm folder replacement" or similar dialog, "yes to all", "confirm file replacement", "yes to all").
But "yes to all" only applies to each loop, so I still end with tons of such prompts!
My goal is to search for a bunch of files and back them up with their full parent folder structure contents, plus subfolders.
Script is great except by those prompts.

:!: folderreport is amazing :!:

Re: rootpath for backupto?

Posted: 04 Oct 2011 08:42
by admin
A scripting command CustomCopy() is planned that will have all you need.