On Sun, Dec 23, 2018 at 02:35:35AM +0100, Gonzalo Pérez de Olaguer Córdoba 
wrote:
> Hi Hendrik,
> 
> El Sat, 22 Dec 2018 18:20:22 -0500
> Hendrik Boom <hend...@topoi.pooq.com> escribió:
> 
> > > > > Rename them.
> > > > > 
> > > > > 1.  'ls -i'   #Gets the inode number.
> > > > > 2.  'find . -inum "inode-number-from-ls -i" -exec mv {} "newfilename" 
> > > > > \;'
> > > > > 
> > 
> > Yes, I see inode numbers.  Unfortunately, the files with slashes in 
> > their names have question marks for their inode numbers.
> > 
> > 2522 @  2523 ?  2526 ?                    ? 07/TRA~1.MP3       2516 
> 
> You don't have to use inodes at all. Anything provided by find to match the 
> file
> will do. For example, try something like:
> 
> find . -type f -iname '07*TRA*MP3' -exec ...

I'm starting to think the way to go about this is to use a utility that 
bypasses the kernel's VFAT file system and treats /dev/sdb1 as a block 
device.  A few have been suggested.  Maybe a hex editor.  Maybe 
fsck.vfat.  Maybe mtools, possibly modified since the documentation 
https://www.gnu.org/software/mtools/manual/mtools.html#default-values
says: 

    Subdirectory names can use either the ’/’ or ’\’ separator.

and that's just how I *don't* want it to treat the '/' in the DOS name.

But maybe a neighbour's old Windows machine.

But the guy that gave me this sd card a few years ago happens to be 
visiting me soon from out of town, so I'll show him what's up.

-- hendrik
_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to