Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to compare the file+folder names of two directory trees for upper/lower case changes?

1 view
Skip to first unread message

Dennis Halver

unread,
Jul 24, 2009, 3:25:33 AM7/24/09
to
The problem of many so called "synchronization" tools is that they simply backup a
directory tree from one source to a target.Almost all of them do NOT detect changes
in upper/lower case of file or folder names.

So assume I have two absolute equal directory trees beginning with

D:\myprojects\*
and
W:\backup\myprojects\v2009\*

Now I change some chars in a folder name in the source from lower to upper case
resp. vice versa e.g.

D:\myprojects\l1b\versionAA12\*
to
D:\myprojects\lib\Versionaa12\*

This change is NOT detected by standard sync/backup programs. The folder name in the target dir
remains untouched.

Is there a way to write a MSDOS script which DOES detect those upper/lower case changes (by comparing
source and target dir tree)?

Dennis

0 new messages