[dokuwiki] Re: Is there any simple way to cope with files having upper case names?

  • From: Luis <ryan.chappelle@xxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 20 Aug 2010 19:00:06 -0400

Chris G escribió:
-- 
----
Luis Machuca Bezzaza <luis.machuca [at] gmail.com>
http://informatica.temuco.udelmar.cl/~lmachuca/
----
> On Fri, Aug 20, 2010 at 11:58:17AM -0700, Michiel Kamermans wrote:
>> On 8/20/2010 11:19 AM, Chris G wrote:
>>> All my digikam photo images have names in upper case, is there any
>>> easy way to copy these to the dokuwiki data/media directory and refer
>>> to them from dokuwiki without changing all their names to lower case?
>>>
>> I don't know which ftp client you're using, but the one I'm using
>> has "convert filenames to lowercase" when uploading, might want to
>> see if that option exists in your client.
>>
> There's no FTP involved, they're all on a system in my study at home.
> It would be easy enough to write a script to convert the filenames
> when I copy them but it would actually be a lot better if I didn't
> have to change the names at all because then I know they're actually
> the same file.
> 
Unless you want to hack the source, the best option is simply to rename the
files. Ast least I haven't ever heard of a plugin that handles that -- it'd
most certainly require replacing installation files and be cumbersome to set
up.

As with most technologies, one has to try and adapt to them too as they try
and adapt to us. ...And need no script. Just pass them through a bulk
renamer. There's loads of these around the internet and about twelve in
every vainilla Linux distro install.

Of course the "not one, not the other, but completely the opposite" option
exists and it would be to store the wiki in a filesystem that doesn't care
about filename case.


-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: