Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Move a file to another directory based on regex match

by Anonymous Monk
on Feb 25, 2021 at 15:46 UTC ( #11128789=note: print w/replies, xml ) Need Help??


in reply to Move a file to another directory based on regex match

I would start by printing the values of $Infile and $Outdir so that you can be sure of what you are asking File::Copy to do. Also be sure that the destinations are not symbolic links to other devices. File::Copy is supposed to first attempt a rename, then fall back to a move. What are the characteristics of the actual things when this error happens?
  • Comment on Re: Move a file to another directory based on regex match

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11128789]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (1)
As of 2021-05-09 09:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (100 votes). Check out past polls.

    Notices?