in reply to Re: Moving folders to new directory location
in thread Moving folders to new directory location

It needs to be writte in perl. It is an assigned task that I have recieved at work. Can I use File::Copy to move directories???

  • Comment on Re^2: Moving folders to new directory location

Replies are listed 'Best First'.
Re^3: Moving folders to new directory location
by Corion (Patriarch) on Jun 23, 2010 at 21:57 UTC

    Perl can launch xcopy using system.

    You will have to copy + delete anyways, so you can also use File::Copy and File::Path to delete the directories afterwards. Although when deleting things, I hope you have good and tested backups.