Re: Perl directory traversal and file operation

2006-07-10 Thread Mr. Shawn H. Corey
Ed wrote: > I'm having a difficult time finding a way to traverse a directory structure > and then perform some simple operations on files in the directories. > > I want to traverse a directory structure and then remove the oldest file in > each subdirectory. Something like this: > 8< snip > I've

Re: Perl directory traversal and file operation

2006-07-10 Thread John W. Krahn
Ed wrote: > I'm having a difficult time finding a way to traverse a directory structure > and then perform some simple operations on files in the directories. > > I want to traverse a directory structure and then remove the oldest file in > each subdirectory. Something like this: > > ## traverse

Perl directory traversal and file operation

2006-07-10 Thread Ed
I'm having a difficult time finding a way to traverse a directory structure and then perform some simple operations on files in the directories. I want to traverse a directory structure and then remove the oldest file in each subdirectory. Something like this: ## traverse the directories and in