Thank you, the solution could be fine but a little difficult to test and launch from 3 o'clock ahead in the night, I was searching for an easier trick. However for a shell script yours is a good approach, thinking.
-Dan Carsten Reith <[email protected]>: > Something like: > > for i in xml*/email/*; do mv $i `dirname $i`/[email protected]; done > > ? > > Cheers, > > Carsten > > Dan <[email protected]> writes: > >> Hello, >> >> About *shelling*, I found two useful tricks to edit the filesystem. >> >> To speed up editing on folder file list: >> nano *.xml (CTRL+S, CTRL+X) >> >> Recursively into subdirs: >> nano `find . -name *.xml` (CTRL+S, CTRL+X) >> >> The problem comes when given a filesystem structure like: >> >> xml1/email/[email protected] >> xml2/email/[email protected] >> xml3/email/[email protected] >> xml4/email/[email protected] >> xml5/email/[email protected] >> xml6/email/[email protected] >> xml7/email/[email protected] >> >> I want to rename with one unique shell commmand all the wrong emails to >> [email protected] >> >> Do you have a tip to exchange? >> >> Thanks! >> >> -Dan

