B
barjunk
I thought if I did:
File.move("mydir","mynewdir")
it would do a move...but it seems to make a file out of the directory
I'm trying to move.
The end result I get is a file named mynewdir. What I want is a new
directory containing all of the information in the mydir directory
called mynewdir.
Am I going to have to use a copy and a rm of the old dir?
What's the "right way" to do that?
Mike B.
File.move("mydir","mynewdir")
it would do a move...but it seems to make a file out of the directory
I'm trying to move.
The end result I get is a file named mynewdir. What I want is a new
directory containing all of the information in the mydir directory
called mynewdir.
Am I going to have to use a copy and a rm of the old dir?
What's the "right way" to do that?
Mike B.