From: "Mariusz Pękala" Date: 2007-06-14T21:34:59+09:00 Subject: Re: Dir copy with rename --z6Eq5LdranGa6ru8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-06-14 21:17:24 +0900 (Thu, Jun), Rebhan, Gilbert wrote: > OK, so i need to copy the whole structure and to do the substitution of > pathname when creating the new pathname, but i don't get it The standard procedure with 'find' utility, when performing recursive delete or similiar operations is to use '-depth' option, so it first processes the files inside, and then directories. You can adapt the same technique. Instead of working on file list: asd/ asd/edc/ asd/edc/rfv you should work on: asd/edc/rfv asd/edc asd/ --=20 Ceterum censeo Internet Explorer esse delendam. --z6Eq5LdranGa6ru8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7-ecc0.1.6 (GNU/Linux) iD8DBQFGcTX/snU0scoWZKARAh9pAJ9+yFm3wQEmFaz/xpq72cUXikkScQCfUfPI nwFvwFCfpmqnyV3grUAMX/0= =MqIB -----END PGP SIGNATURE----- --z6Eq5LdranGa6ru8--