PC Review


Reply
Thread Tools Rate Thread

How to detect upper/lower case diffs in file/folder names in dir tree? Robocopy feature?

 
 
Dennis Halver
Guest
Posts: n/a
 
      28th Jul 2009
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 tool which allows the detection of upper/lower case changes/differences?

Does e.g. Robocopy detect them (with a special option) ?

Dennis

 
Reply With Quote
 
 
 
 
Pegasus [MVP]
Guest
Posts: n/a
 
      28th Jul 2009

"Dennis Halver" <(E-Mail Removed)> wrote in message
news:4a6f0f8b$0$31872$(E-Mail Removed)...
> 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 tool which allows the detection of upper/lower case
> changes/differences?
>
> Does e.g. Robocopy detect them (with a special option) ?
>
> Dennis
>


While the "ren" (rename) command will rename files according to the
capitalisation you type, all of the "copy" commands I know will retain the
upper/lower case of the target file, regardless of the way the source file
name is spelt. You would have to write a batch or VB Script file to
synchronise file name capitalisation.



 
Reply With Quote
 
SPAMCOP User
Guest
Posts: n/a
 
      28th Jul 2009
I agree with Pegasus on this

Recursive routines are easy to write

--
SPAMCOP User


"Pegasus [MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> "Dennis Halver" <(E-Mail Removed)> wrote in message
> news:4a6f0f8b$0$31872$(E-Mail Removed)...
>> 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 tool which allows the detection of upper/lower case
>> changes/differences?
>>
>> Does e.g. Robocopy detect them (with a special option) ?
>>
>> Dennis
>>

>
> While the "ren" (rename) command will rename files according to the
> capitalisation you type, all of the "copy" commands I know will retain the
> upper/lower case of the target file, regardless of the way the source file
> name is spelt. You would have to write a batch or VB Script file to
> synchronise file name capitalisation.
>
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to detect upper/lower case diffs in file/folder names in dir tree? Robocopy feature? Dennis Halver Windows XP Help 4 28th Jul 2009 07:03 PM
Changing File Names to UPPER or lower case =?Utf-8?B?R2FyeQ==?= Windows XP Customization 5 25th Sep 2006 11:34 PM
detect upper/lower case mike allen Microsoft Excel Discussion 3 5th Jun 2004 04:49 PM
Change upper case file names to lower case Sylvain Windows XP Help 0 11th Nov 2003 09:20 PM
html file names convert to upper case from lower when copied to another drive Ray Merriam Microsoft Frontpage 2 16th Aug 2003 01:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:40 AM.