in reply to How I move files and check if they exit in another directory?

Things handy are e.g. the filetest builtin operators, File::Copy, File::Find.

But why reinvent that particular wheel? Have a look at rsync, available from the rsync web pages, which cares about existing files, timestamps, recursion and so on.

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
  • Comment on Re: How I move files and check if they exit in another directory?