SeekneSs
28-Apr-2005, 06:55 AM
Hi,
I'm trying to put up an automatic sync between a couple of directories and those on an ftp server using the command line.
What i noticed is: the script doesn't compare same files with same timestamp but with different file size.
So, when a file isn't completely loaded up but has same timestamp and different size, that file will be skipped next time these 2 sides will be synced...
This is the script:
filter %1
load %2 %3
expand all
select all
select left.newer.all left.orphan.all left.empty.folders
copy left->right
select right.orphan
delete right
should i use the criteria option together with select.diff?
Tried that, but it didn't worked...
Can someone give me some advice on this one? and in case i have to use criteria, were should it be placed in the script?
thanks!
I'm trying to put up an automatic sync between a couple of directories and those on an ftp server using the command line.
What i noticed is: the script doesn't compare same files with same timestamp but with different file size.
So, when a file isn't completely loaded up but has same timestamp and different size, that file will be skipped next time these 2 sides will be synced...
This is the script:
filter %1
load %2 %3
expand all
select all
select left.newer.all left.orphan.all left.empty.folders
copy left->right
select right.orphan
delete right
should i use the criteria option together with select.diff?
Tried that, but it didn't worked...
Can someone give me some advice on this one? and in case i have to use criteria, were should it be placed in the script?
thanks!