:: Re: [DNG] slashes in FAT file names
Top Pagina
Delete this message
Reply to this message
Auteur: Rick Moen
Datum:  
Aan: dng
Onderwerp: Re: [DNG] slashes in FAT file names
Quoting Hendrik Boom (hendrik@???):

> I have a 32GiB microSD card an am reying to read it on my Devuan system.
> I munted it with a simpel mount /dev/sdb1 /nedia/hendrik/
>
> It reads almost everything fine, except for a few files whose names
> contain '/' characters. I can handle the other horribly weird
> characters in file names -- emacs Rename in the directory
> editor works just fine. But the names containing '/'s even have
> emacs stymied.


Rename them.

1. 'ls -i' #Gets the inode number.
2. 'find . -inum "inode-number-from-ls -i" -exec mv {} "newfilename" \;'

Man, I hate files with pathological filenames, and some of the
other-OS-originating examples are among the worst.