Is it possible to preserve the file directory along wiht the file name..?
for eg:
I've few files in source dir called "srcdir"
/usr/srcdir/abc/123.xml
/usr/srcdir/abc/good/123.xml
/usr/srcdir/abc/223.xml
/usr/srcdir/abc/good/223.xml
I've to copy all the above files to a directory called 'destdir'. Finally i should get in this way..
/usr/destdir/abc/123.xml
/usr/destdir/abc/good/123.xml
/usr/destdir/abc/223.xml
/usr/destdir/abc/good/223.xml
What can i achieve this..?
for eg:
I've few files in source dir called "srcdir"
/usr/srcdir/abc/123.xml
/usr/srcdir/abc/good/123.xml
/usr/srcdir/abc/223.xml
/usr/srcdir/abc/good/223.xml
I've to copy all the above files to a directory called 'destdir'. Finally i should get in this way..
/usr/destdir/abc/123.xml
/usr/destdir/abc/good/123.xml
/usr/destdir/abc/223.xml
/usr/destdir/abc/good/223.xml
What can i achieve this..?