nodens
Tue, 19 May 2009 07:34:11 -0700
ElBandito a écrit : > Hello, > > I guess the title already says it all. > I am looking for a way to make lftp transfer all the files with > "mirror" in lowercase, since different cases are just annoying and > only causing trouble for me. > Is there maybe a "secret" option somewhere, or is there any way to patch it > in? > > I would really appreciate any help :) > > I'm not aware of any lftp command / setting that would allow that, however :
- quick & dirty : use a fat32 partition. No permissions, no journal, but no case as well ;-) - post-transfer : find /my/dir | xargs rename 'y/A-Z/a-z/' Beware, if you have "pwet" and "Pwet", rename will not rename "Pwet" as "pwet" already exists. You'd need a slightly more elaborate script to check for date etc and decide what to do. Anyway, this could indeed be useful when dealing with win32 FTP servers. Cheers, -- Clément Hermann (nodens) - "L'air pur ? c'est pas en RL, ça ? c'est pas hors charte ?" Jean in L'Histoire des Pingouins, http://tnemeth.free.fr/fmbl/linuxsf/ Vous trouverez ma clef publique sur le serveur public pgp.mit.edu. Please find my public key on the public keyserver pgp.mit.edu