Page 1 of 1
only jpg files backupto selected folders...
Posted: 22 Nov 2015 12:25
by drjs5x
hi
example : 3-4 folder select and a custom button script : only backupto jpg;png;bmp files..
possible?
backupto "<xydata>\Cache",,"1",,"0","0","only:*.jpg;*.png;*.bmp"
//1=overwrite if newer... 10=Overwrite if different
Re: only jpg files backupto selected folders...
Posted: 22 Nov 2015 13:48
by highend
Code: Select all
$dstFiles = quicksearch("*.jpg;*.png;*.bmp", "<get SelectedItemsPathNames ;>", "|");
backupto("R:\Temp", $dstFiles, < all your other options for backupto >);
Re: only jpg files backupto selected folders...
Posted: 22 Nov 2015 14:21
by drjs5x
Re: only jpg files backupto selected folders...
Posted: 22 Nov 2015 14:22
by highend
backupto doesn't need it.
Re: only jpg files backupto selected folders...
Posted: 22 Nov 2015 14:30
by drjs5x
dear
""
$dstFiles = quicksearch("*.jpg;*.png;*.bmp", "<get SelectedItemsPathNames ;>", "|");
copyto("c:\Temp", $dstFiles, "10","10","10","10","100");
""
""
$dstFiles = quicksearch("*.jpg;*.png;*.bmp", "<get SelectedItemsPathNames ;>", "|");
backupto("c:\Temp", $dstFiles, ,"10",,"0","0");
""
backupto successfull //10 overwrite if different but no folder structure
copy to yes folder structure but " //10 overwrite if different" dont work
how can copyto with folder structure + " //10 overwrite if different"
Re: only jpg files backupto selected folders...
Posted: 22 Nov 2015 14:41
by highend
backupto doesn't support the [rootpath] to recreate folder structures.
so you either use copyto or create structures in a foreach loop yourself.
Re: only jpg files backupto selected folders...
Posted: 22 Nov 2015 14:45
by drjs5x