PDA

View Full Version : Copy Subfolders


bgreer5050
21-Dec-2009, 11:54 PM
How do I copy subfolders as well as the files. Below is my script:

log verbose c:\scripts\scriptlog43.txt
option confirm:yes-to-all
filter "-*.wma"
filter "-*.mp3"
criteria timestamp:5000sec;ignoreDST
load "\\10.0.200.150\Company\Traffic" "\\10.0.200.2\n$\backups\10.0.200.150\Company\Traff ic"
select left.newer.files left.orphan.files
copy left->right

Thanks

chrroe
22-Dec-2009, 01:13 AM
Hi!

You have to add the expand command between the load and select commands. Please refer to the BC helpfile (scripting reference) for infos about the syntax.

Hope this helps ...

Bye
Christoph