On Fri, Sep 03, 2010 at 08:44:01PM +0100, Tim Green wrote:
On 3 September 2010 20:38, Chris G cl@isbd.net wrote:
I want to keep two directories in sync but with a slight difference, I want the 'destination' directory to have lower case names only. I.e. any file in the source directory that has an upper case name (or any upper case characters in its name) I want copied to the destination directory with a lower case name.
And there'll never be a name clash with just a difference in case?
No, these are photo image files with formats like DSCF1234.JPG, I just happen to want a mirror directory of the same files with lower case names.
If there's a file DSCF1234.JPG and a dscf1234.jpg then they're almost certainly the same file. The source/parent directory will always have the originals anyway.