:: Re: [DNG] slashes in FAT file names
Kezdőlap
Delete this message
Reply to this message
Szerző: Rick Moen
Dátum:  
Címzett: dng
Tárgy: 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.