Want to thank, interactive shell script attached (supplied AS-IS) :))
-Dan
Carsten Reith <carsten.reith@t-online.de> wrote:
> Something like:
>
> for i in xml*/email/*; do mv $i `dirname $i`/posta@elletronica.lol;
> done
>
> ?
>
> Cheers,
>
> Carsten
>
> Dan <dan@nnnne-o-o-o.com> 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/posta@celere.com
> > xml2/email/posta@celere.com
> > xml3/email/posta@celere.com
> > xml4/email/posta@celere.com
> > xml5/email/posta@celere.com
> > xml6/email/posta@celere.com
> > xml7/email/posta@celere.com
> >
> > I want to rename with one unique shell commmand all the wrong
> > emails to posta@elettronica.lol
> >
> > Do you have a tip to exchange?
> >
> > Thanks!
> >
> > -Dan
>
No comments:
Post a Comment