:: Re: [DNG] slashes in FAT file names
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Hendrik Boom
Ημερομηνία:  
Προς: dng
Αντικείμενο: Re: [DNG] slashes in FAT file names
On Fri, Dec 21, 2018 at 10:24:24PM -0800, Rick Moen wrote:
> 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.


Do VFAT files systems have inode numbers?

-- hendrik