Scripting names from a file

Chadley Wilson chadley at pinteq.co.za
Wed Sep 29 09:07:47 UTC 2004


On Wednesday 29 September 2004 08:22, Nifty Hat Mitch wrote:
> On Wed, Sep 29, 2004 at 06:53:54AM +0200, Chadley Wilson wrote:
> > On Wednesday 29 September 2004 06:32, Nifty Hat Mitch wrote:
> > > On Tue, Sep 28, 2004 at 04:53:54PM +0200, Chadley Wilson wrote:
> > > > > You don't need a script for that. Something simple as:
>
> ....
>
> > > I am lazy and feel handy with in vi.
> > >
> > > Since you have a file full of file names
> > > And since I have no clue how the file was generated
> > > and validated.... I want to inspect the file first.
>
> .....
>
> > WOW!
> > Tom                      Are you trying to frighten me?
> > Your doing a good job, ;->
>
> ....
>
> > had a list of mp3's which had been renamed removing the funny
> > characters..
>
> Interesting... I sort of went nuts because my "music" dir
> is also full of files with funny char.   I even have some Greek
> file names.
>
> Since you have renamed all the funny char file names
> you are in better shape than most.  This is an important
> step and should have been disclosed.
>
> What tool did you use to rename them.
> How did you verify that they were correct?
>
> Because of this meta character thing in file names I use
> the "-print0" option in find and "xargs -0"  lots. Lots!
>
> It is slower but solves many garbage file name problems...
>
>
>
> --
> 	T o m  M i t c h e l l
> 	Me, I would "Rather" Not.
Well my buddy and I have sat down for three long weekends and manually renamed 
and listened to each track to make sure it is what it says it is, we also 
manually took out duplicates and checked for the best copies now I just had 
to sort them ;->

-- 
Chadley Wilson
Redhat Certified Technician 
Cert Number: 603004708291270
Pinnacle Micro
Manufacturers of Proline Computers
====================================
Exercise freedom, Use LINUX
=====================================




More information about the fedora-list mailing list