[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] FAT: can't delete file



Hi,


Xavier joubert a écrit:
Even when you do "rm *", it's bash's job to extend * to whatever it should match to create the full command line. So the bug can be in bash... or (more likely) in FreeMiNT's FAT driver.

I had some ideas this night...

When you run "ls" in this directory, the name of the file is displayed (I hope so). Does it work when you run "ls *" ?

If not, this means that bash is unable to correctly expand the filename.

In this case, you can try running
$ ls "`ls`"
and see if it works.

If so,
$ rm "`ls`"
will probably do the job.

But before this, please do a :
$ ls > ../filename.bin
This will allow to investigate later and find what's gone wrong with this filename.


Regards,

Xavier