Don't ask to ask, just ask | |
PerlMonks |
unrar from multiple directoriesby cesapun (Acolyte) |
on Aug 09, 2012 at 18:31 UTC ( [id://986579]=perlquestion: print w/replies, xml ) | Need Help?? |
cesapun has asked for the wisdom of the Perl Monks concerning the following question: Hello ! I'm trying to write a perl script that search for rar files(and eventually,unrar them into a folder) in a directory that has subdirs. For example,let's say that i have dir "archive" and this dir contains "cd1","cd2" etc. Script will get as argument "archive" and will search into it for rar files.Of course,it will open "cd1","cd2" dirs and unrar the content into another folder. By now,i have a script that search for rar files and unrar only from a dir.But i don't know how to make it to search in every folder.
Can someone help me with this? Many thanks in advance
Back to
Seekers of Perl Wisdom
|
|