in reply to copying a directory and it's contents

To me (YMMV) question is ambiguous (to be charitable; UNclear to be precise).

But for starters, why would you use perl rather than Command Line utilities such as cp or mv (*n*x) or move (DOS) or (if on windoze) drag'n'drop using file manager?

and, to my eyes, the second question doesn't make a lot of sense, unless you either mean -- move all the files in a root (/ or c:\) and its directories to "another directory" for backup or somesuch while the factual statement between the two questions seems to suggest you may be talking about a non-root directory.

apologies if I'm being dense, but consider that good precise questions are likely to get the best answers. Please update (Tank points out that since you're an annoymous monk, you'll have to reply or "comment") to clarify!

  • Comment on Re: copying a directory and it's contents