Re: Process Directory and subdirectories Recursively

2008-01-29 Thread Rob Dixon
Andrew Limareff wrote: > Mimi Cafe wrote: I am trying to process a directory and all subdirectory recursively and The script will finally be used on Windows OS, Unix system command cannot be used. > > +1 to the File::Find route. It's also much more powerful than your > standard MS-DOS dir /S

Re: Process Directory and subdirectories Recursively

2008-01-29 Thread Andrew Limareff
+1 to the File::Find route. It's also much more powerful than your standard MS-DOS dir /S command. Mimi Cafe wrote: Hi, I am trying to process a directory and all subdirectory recursively and The script will finally be used on Windows OS, Unix system command cannot be used. -- To unsu

RE: Process Directory and subdirectories Recursively

2008-01-28 Thread Nagrale, Ajay
Hi Mimi, I could think of a replacement of "ls -R" command of unix in windows. It's "dir /S". Recursive function call is a one way to do the same. You can try File::Find as well: http://search.cpan.org/~lbrocard/perl5.005_04/lib/File/Find.pm Thanks, Ajay -Original Message- From: Mimi

Re: Process Directory and subdirectories Recursively

2008-01-28 Thread Gunnar Hjalmarsson
Mimi Cafe wrote: Hi, I am trying to process a directory and all subdirectory recursively and Please do not multi-post!! -- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://

Re: Process Directory and subdirectories Recursively

2008-01-28 Thread Gunnar Hjalmarsson
Mimi Cafe wrote: I am trying to process a directory and all subdirectory recursively and generate a list as the Unix command "ls -R" will display, The script will finally be used on Windows OS, Unix system command cannot be used. print `dir /B /S`; If you prefer a portable solution,