Collecting latest file only

Advertisement

doh
Guest

Collecting latest file only

Hi,

I have a batch file kicking off a copy from source server to destination using console. This is working fine, what I need to do is pick up new files only. Is there a way of marking the files you have copied or deleting ones you have picked up negating the need to copy all?? The file names are different everytime.

Any ideas would help

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,658
Location:
Prague, Czechia

Re: Collecting latest file only

I think that what you need is the "synchronize" command.
_________________
Martin Prikryl

Reply with quote

Guest

Re: Collecting latest file only

martin wrote:

I think that what you need is the "synchronize" command.

Thanks for your response. But, I have files on a Linux machine that are being updated daily. I am pulling these across to an XP machine. It looks like I can synchronise from local XP to Linux but not the other way?? Can I sync from the Linux to the XP???


Cheers

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,658
Location:
Prague, Czechia

Re: Collecting latest file only

You can synchronize either way or even both. To synchronize remote=>local use "synchronize local [local_dir [remote_dir]]"
_________________
Martin Prikryl

Reply with quote

Guest

Re: Collecting latest file only

martin wrote:

You can synchronize either way or even both. To synchronize remote=>local use "synchronize local [local_dir [remote_dir]]"

Can I do this using the console and txt file so I can run it without the GUI?? If so how??

TXS

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,658
Location:
Prague, Czechia

Re: Collecting latest file only

That's what I've wrote above. The scripting command is:
synchronize local

Use "help synchronize" to learn more details.
_________________
Martin Prikryl

Reply with quote

Guest

Re: Collecting latest file only

martin wrote:

That's what I've wrote above. The scripting command is:
synchronize local

Use "help synchronize" to learn more details.

I Should have read the help files before asking dumb questions. I've got it working manually just have to automate it. Thanks for your help. This program saved my A@*E

Reply with quote

Advertisement

You can post new topics in this forum