Re: Moving Directories containing files (something more tricky)

2005-02-24 Thread JupiterHost.Net
perldoc -f mkdir perldoc -f rename perldoc File::Path perldoc File::Copy Also see, File::Copy::Recursive :) quite nice and simple. HTH :) Lee.M - JupiterHost.Net -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Moving Directories containing files (something more tricky)

2005-02-24 Thread Chris Devers
On Thu, 24 Feb 2005, Bastian Angerstein wrote: > I have a tricky problem, I have some (alot) directories containing > alot of files. I want to move the directory /xyz/123/ with all > containing files to /xyz/abc/123. Maybe I'm being dense, but doesn't that just mean mkdir /xyz/abc mv /xyz/

Re: Moving Directories containing files (something more tricky)

2005-02-24 Thread Wiggins d'Anconia
Bastian Angerstein wrote: Hello there, I have a tricky problem, I have some (alot) directories containing alot of files. I want to move the directory /xyz/123/ with all containing files to /xyz/abc/123. The source directory does not (or should not) contain subdirectories. Does anybody have somethi

Moving Directories containing files (something more tricky)

2005-02-24 Thread Bastian Angerstein
Hello there, I have a tricky problem, I have some (alot) directories containing alot of files. I want to move the directory /xyz/123/ with all containing files to /xyz/abc/123. The source directory does not (or should not) contain subdirectories. Does anybody have something for me ? Thanks, B

Re: Moving directories

2002-08-21 Thread david
do the following: mkdir "two"; chdir "two"; mkdir "one"; if you need to do something else, you need to move back to where you are after the second mkdir david David Richardson wrote: > Is there any way to have a perl script move one directory into > another like: > > $ mkir one two >

RE: Moving directories

2002-08-21 Thread Timothy Johnson
Check out Win32::FileOp. -Original Message- From: David Richardson To: [EMAIL PROTECTED] Sent: 8/21/02 8:48 AM Subject: Moving directories Is there any way to have a perl script move one directory into another like: $ mkir one two $ mv one two $ ls two one without

Moving directories

2002-08-21 Thread David Richardson
Is there any way to have a perl script move one directory into another like: $ mkir one two $ mv one two $ ls two one without having to use system? I tried use File::Copy; mkdir 'one'; mkdir 'two'; move('one', 'two'); but this renames one to two and overwrite