Looking for a piece of python...
Net Llama!
netllama
Sun May 22 20:58:49 PDT 2005
On 05/22/2005 06:58 PM, Jerry McBride wrote:
> 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.
I still don't really understand what it is you were doing. For the
curious, can you explain what you were doing with 13000 MP3s?
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman netllama at linux-sxs.org
LlamaLand http://netllama.linux-sxs.org
19:15:01 up 41 days, 5:29, 1 user, load average: 0.28, 0.44, 0.31
More information about the Linux-users
mailing list