Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Move/merge directories

by RyuMaou (Deacon)
on Jan 12, 2007 at 20:53 UTC ( #594451=note: print w/ replies, xml ) Need Help??


in reply to Move/merge directories

Sounds like a great script, but when I run it on my Win2K system, I get the following error:

Name "$File::Find::name" only used once: Possible typo

Based on the info for the CPAN module, everything looks right, but then, I'm still pretty limited in my Perl skills.
Suggestions?


Comment on Re: Move/merge directories
Re^2: Move/merge directories
by diotalevi (Canon) on Jan 12, 2007 at 21:09 UTC

    It's not an error, it's just a warning that I didn't force to disappear.

    ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

      Hunh. Curiouser and curiouser.

      I assumed it was an actual error, instead of a warning, because the script then seemed to not do anything. I was sort of thinking it had something to do with the fact I was running it on a Win2K machine. I tried every variable of directory naming convention that I can think of, but got no joy with any of them.

      I suppose I could try it in Cygwin to see if I get the same results.
      I'll let you know.


      Update: I thought it synchronized the directories in either direction, but it seems to have just created the source directory in the target directory and moved the files.
      Still cool, but not quite what I was hoping for.

      Thanks.

        I don't why OP did not just use rsync|unison (not that I care) ... you may want to try unison for your purpose.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (14)
As of 2014-08-29 13:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (280 votes), past polls