Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^3: Move/merge directories

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

in reply to Re^2: Move/merge directories
in thread Move/merge directories

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.


Comment on Re^3: Move/merge directories
Re^4: Move/merge directories
by parv (Priest) on Jan 13, 2007 at 04:34 UTC

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

      I didn't use rsync because I am occasionally really dense.

      ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2014-08-20 09:54 GMT
Find Nodes?
    Voting Booth?

    The best computer themed movie is:

    Results (110 votes), past polls