View previous topic :: View next topic |
Author |
Message |
DanRRight
Joined: 10 Mar 2008 Posts: 2876 Location: South Pole, Antarctica
|
Posted: Fri Jul 31, 2015 9:20 am Post subject: Program which synchronizes files |
|
|
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. |
|
Back to top |
|
|
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2393 Location: Yateley, Hants, UK
|
Posted: Fri Jul 31, 2015 3:46 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2876 Location: South Pole, Antarctica
|
Posted: Fri Jul 31, 2015 6:49 pm Post subject: |
|
|
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?) |
|
Back to top |
|
|
JohnCampbell
Joined: 16 Feb 2006 Posts: 2593 Location: Sydney
|
Posted: Mon Aug 03, 2015 7:15 am Post subject: |
|
|
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 |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2876 Location: South Pole, Antarctica
|
Posted: Tue Aug 04, 2015 11:59 am Post subject: |
|
|
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 |
|
Back to top |
|
|
|