You are not logged in.

#1 24 Jun 2016 07:45

NDog
Member
From: New Zealand
Registered: 31 May 2006
Posts: 121
Website

tool to synchronize files?

Does anyone know a tool to synchronize files?

for example

path1\bigfile8GB.vhd
        \bigfile12GB.exe
        \bigfile64GB.tg.gz

path2\bigfile64GB.tg.gz

I have a path1 with lots of random files there, so I can't sync the entire directory, but I only want to sync one big file 12GB+ that is modified about 2 times a week.
I only want it to copy that file to path2 if the file has changed, but not if it is the same.

Also it should be fast, so I don't need to wait for a long time to compare the files for exceptionally big files.


cmd, vbs, ps, bash
autoit, python, swift

Offline

#2 24 Jun 2016 10:24

bluesxman
Member
From: UK
Registered: 29 Dec 2006
Posts: 1,129

Re: tool to synchronize files?

Something like this?

robocopy path1 path2 bigfile.tg.gz /min:12884901888

Robocopy does a rudimentary check for changes (size and time stamp I think).


cmd | *sh | ruby | chef

Offline

#3 24 Jun 2016 11:38

NDog
Member
From: New Zealand
Registered: 31 May 2006
Posts: 121
Website

Re: tool to synchronize files?

Thanks

Robocopy seems to be able to figure out on its own if a file is the same or not.


cmd, vbs, ps, bash
autoit, python, swift

Offline

Board footer

Powered by