Silverfrost Forums

Welcome to our forums

Program which synchronizes files

31 Jul 2015 8:20 #16672

I thought i took all files from the old disk but seems some were left there. Do anyone has written some simple program with nice GUI for synchronizing files?

Another problem is that there often exist many copies of the same DOC, picture or movie files. Would be good if the code sort this too.

Such programs (apps) probably exist on the net but probably would be useful to write your own one for such and other purposes.

31 Jul 2015 2:46 #16673

Probably not the answer you want, Dan, but you could take the hard drive out of your old computer and put it in the new one. Alternatively it could go in an external hard drive enclosure, connected via eSATA or USB, or planning ahead, put it in an empty NAS shell and connect it via Ethernet.

Eddie

31 Jul 2015 5:49 #16674

Eddie, as always thanks for advice. Here i have the situation i can take harddrive for some time and get things out of it. But it takes a lot of time to find the differences.

Things are that old computers and harddrives are still sometimes used. And i put some things on them. Plus there are laptops. Same things there too. As a result files are spread and eventually lost because it's very time demanding to search for a needle in the hive.

Opera browser had great feature to have all your bookmarks over all computers and cellphones synchronized. Same feature for other PC items would be great to have.

/* (why this server always hiccups lately, vacation time?)

3 Aug 2015 6:15 #16678

Dan,

I have written dos like commands for comparing files, directories or trees:

cmpf : reads the 2 files as text files using 'read (lu, '(a)', end=1002) file(num)' This scans the content of two files, reporting line changes.

cmpufd : reads 2 directories and compares file entries, based on the file date/time stamp from the DIR command, using command = '>current.dir dir '//dir call cissue (command, ifail) comparison is based on the DIR character strings for file entries in the 2 directories.

cmptree : reads 2 trees and compares file entries using call files@ (local_dir,... again comparison is based on the date, time and size attributes of the file.

cmpufd and cmptree report:

  • same entries (same date, time and size)
  • entries with different date, time and size attributes
  • entries where the time difference is only the daylight savings stamp
  • entries that are unique to each directory

They do not scan for differences within each file, although time and size are a good indicator.

cmptree is a good indicator of missing files or sub-directories when checking similar backups or version changes.

If you need more info, send me a message.

John

4 Aug 2015 10:59 #16686

I am sure that all your source will be very useful, John, but i afraid to even look at it. I know that if i plunge into this business, it will take from me weeks and i am already months behind all imaginable schedule extensions for a lot of unfinished things and promises 😦

Please login to reply.