Hi Hendrik,

El Sat, 22 Dec 2018 18:20:22 -0500
Hendrik Boom <[email protected]> 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 ...


-- 
   Gonzalo Pérez de Olaguer Córdoba       [email protected]
  -=- buscando empleo desde 1988 -=-       www.gpoc.es 

PGP: 3F87 CCE7 8B35 8C06 E637  2D57 5723 9984 718C A614
_______________________________________________
Dng mailing list
[email protected]
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to