[kwlug-disc] cd case insensitive? (NOT autocompletion)
unsolicited at swiz.ca
Tue Sep 10 09:00:11 EDT 2013
It occurred to me I ran into this because I moved files from a windows
share to the local ext4 disk, and that case hadn't been an issue before.
So, one way around this is to mount your own files via samba:
smbmount //mycomputer/mydata /mnt/data -o nocase
Allows cd /mnt/data/me
... strange, but true!
(strange as in, why would one want to indirectly access their own disk)
On 13-09-09 03:25 PM, William Park wrote:
> On Mon, Sep 09, 2013 at 02:53:02PM -0400, unsolicited wrote:
>> How do I make filename/directory matching case insensitive?
>> Note, I am NOT talking about autocompletion. No tab pressing involved here.
>> If I have directory /Data/Me, how do I make 'cd /data/me<enter>' do
>> the expected?
> Short answer: you can't.
> Long answer: you have to write a script that will convert the cases for
> both your command argument and target directory name, and do the
> match. For "vfat" and the likes, there is mount option that will
> convert the case automatically.
More information about the kwlug-disc