Re: Copy file recursively

2009-03-05 Thread Octavian Râşniţă
die $!; DESCRIPTION This module copies and moves directories recursively (or single files, well... singley) to an optional depth and attempts to preserve each file or directory's mode. Octavian - Original Message - From: "Swayam" To: Sent: Thursday, March

Re: Copy file recursively

2009-03-05 Thread Jim Gibson
On 3/5/09 Thu Mar 5, 2009 1:48 AM, "Rock Lifestyle" scribbled: > Hi , >   > My directory structure is like >   [snipped] >   > I want to copy some subdirectory and files under it to another directory it > should exactly create similar directory structure Use the File::Find and File::Cop

Re: Copy file recursively

2009-03-05 Thread Swayam
On Thu, Mar 5, 2009 at 6:06 PM, Swayam wrote: > Hi , > > My directory structure is like > > ls -R temp > temp: > 2.1 2.2 cleanup setup > > temp/2.1: > 2.1.1cleanup setup > > temp/2.1/2.1.1: > setup cleanup 2.1.1.01 2.1.1.02 2.1.1.03 2.1.1.04 2.1.1.05 2.1.1.06 > 2.1.1.0

Copy file recursively

2009-03-05 Thread Swayam
Hi , My directory structure is like ls -R temp temp: 2.1 2.2 cleanup setup temp/2.1: 2.1.1cleanup setup temp/2.1/2.1.1: setup cleanup 2.1.1.01 2.1.1.02 2.1.1.03 2.1.1.04 2.1.1.05 2.1.1.06 2.1.1.07 2.1.1.08 temp/2.1/2.1.1/2.1.1.01: cleanup setuptest temp/2.1/2

Copy file recursively

2009-03-05 Thread Swayam
Hi , My directory structure is like ls -R temp temp: 2.1 2.2 cleanup setup temp/2.1: 2.1.1cleanup setup temp/2.1/2.1.1: setup cleanup 2.1.1.01 2.1.1.02 2.1.1.03 2.1.1.04 2.1.1.05 2.1.1.06 2.1.1.07 2.1.1.08 temp/2.1/2.1.1/2.1.1.01: cleanup setuptest temp/2.1/2

Copy file recursively

2009-03-05 Thread Rock Lifestyle
--- On Thu, 5/3/09, Rock Lifestyle wrote: From: Rock Lifestyle Subject: Copy file recursively To: beginners@perl.org Date: Thursday, 5 March, 2009, 9:48 AM Hi ,   My directory structure is like   ls -R temp temp: 2.1  2.2  cleanup  setup   temp/2.1: 2.1.1    cleanup  setup

Copy file recursively

2009-03-05 Thread Rock Lifestyle
Hi ,   My directory structure is like   ls -R temp temp: 2.1  2.2  cleanup  setup   temp/2.1: 2.1.1    cleanup  setup   temp/2.1/2.1.1:   setup cleanup 2.1.1.01  2.1.1.02  2.1.1.03  2.1.1.04  2.1.1.05  2.1.1.06  2.1.1.07  2.1.1.08   temp/2.1/2.1.1/2.1.1.01: cleanup  setup    test   t