Bien vu. J'ai fait inutilement compliqué. Au temps pour moi :)

Le 23 août 2011 14:31, Ebling Andreas <ebl...@free.fr> a écrit :

> Salut,
>
> Perso je trouve que diff -r fait très bien son travail :-)
>
> --
> http://www.ebling-photo.fr
> Ebling Andreas
>
> On 23 Aug 2011, at 14:16, Jerome Flesch <jfle...@gmail.com> wrote:
>
> > Bonjour,
> >
> > Est-ce qu'un script de ce genre ferait l'affaire ?
> >
> > #!/bin/sh
> >
> > src=$1
> > dst=$2
> >
> > find ${src} | sort >| /tmp/list.src.txt
> > find ${dst} | sort >| /tmp/list.dst.txt
> >
> > diff -u /tmp/list.src.txt /tmp/list.dst.txt
>

Répondre à