Re: Moving Directories containing files (something more tricky)

From: Wiggins d'Anconia (wiggins_at_danconia.org)
Date: 02/24/05


Date: Thu, 24 Feb 2005 09:53:45 -0500
To: Bastian Angerstein <ang@nmc-m.dtag.de>

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 something for me ?
>
> Thanks,
> Bastian
>
>

perldoc -f mkdir
perldoc -f rename
perldoc File::Path
perldoc File::Copy

What have you tried, where did you fail?

http://danconia.org



Relevant Pages

  • Re: -d file test operator not working (windows)
    ... >> perldoc -f readdir ... > use strict; ... Supply a source directory to synchronize from as first argument ... Sinan Unur ...
    (comp.lang.perl.misc)
  • Re: AW: Counting characters in a thread
    ... On Friday 09 July 2004 04:31, Bastian Angerstein wrote: ... That will only work if the % characters are all next to each other. ... perldoc -q "How can I count the number of occurrences of a substring within a string" ...
    (perl.beginners)