Looking for a piece of python...
Jerry McBride
mcbrides9
Sun May 22 20:07:59 PDT 2005
On Monday 23 May 2005 07:50 pm, Robert Hemus wrote:
> On Sun, 2005-05-22 at 10:56, Jerry McBride wrote:
> > Anyone have a piece of python that processes directories recursively?
> >
> > I've a vast mp3 collection that is broken up into hundreds of directories
> > and... now... I need to do some file processing on them.
> >
> > Anyone?
> >
> > Thank you, in advance.
> > _______________________________________________
> > Linux-users mailing list ( Linux-users at linux-sxs.org )
> > Unsub/Password/Etc:
> > http://mail.linux-sxs.org/cgi-bin/mailman/listinfo/linux-users
> >
> > Need to chat further on this subject? Check out #linux-users on
> > irc.linux-sxs.org !
>
> My, that sounds like creepy beastiallity (sp?) to me!!
> Bob
>
Turns out that it was a piece of cake. Using os.path.walk I was able to
process almost 13,000 mp3's, archived in hundreds of directories, with less
than 10 lines of code... Amazing. Of course, the processing I'm doing numbers
closer to 300 lines.
Cheers all and thanks for your help.
More information about the Linux-users
mailing list