[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [linux-team] Regexp en ligne de commande



Pascal Bleser wrote:
> 
> On Mon, Oct 25, 1999 at 03:55:54PM +0200, Christophe Schockaert wrote:
> > Je voudrais faire un backup du home directory de mes users: j'ai fait un
> > cron qui devrait lancer la ligne suivante:
> > find /home -mindepth 1 -maxdepth 1 -exec tar -uvzf /backup/{}.tgz {} \;
> > mais je voudrais faire une regexp sur le premier paramètre pour n'en
> > conserver que la fin.

> [Pleins de renseignements utiles de Pascal]

> 
> > Toute aide est la bienvenue,
> Ca te va, comme ça ? :)
Ah ouais, alors ça j'aurais vraiment pas pensé à chercher si loin !
Bon, maintenant je vais voir de plus près à quoi ça ressemble pour
comprendre tous les détails.

Merci,

vivement que je connaisse toutes les ressources du shell :-)

Bye,

Christophe.


> --
>   -o)  Pascal Bleser        | Instead of giving  Windows
>   /\\  C++/UNIX Development | the "three-finger-salute",
>  _\_v  ATOS Payment Systems | give it  the  "one-finger-
>        Aachen, Germany      | goodbye"  {jfk/propaganda}
> <pbleser@atos-group.com>--------------<guru@linuxbe.org>
> 
> ---------
> Visit the Linux Supertore Online: http://www.redcorp.com !
> If you want to be deleted from the list, send a mail to
> majordomo@rtfm.be with "unsubscribe linux-team" in the body.
> Archive of the list: http://tania.be.linux.org/

-- 
>>>>--------------->
Once it's perfectly aimed, the flying arrow goes straight to its target.
Thus, don't worry when things go right. 
There will be enough time to worry about if they go wrong.
Then, it's time to fire a new arrow towards another direction.
Don't sink.  Adapt yourself !  The archer has to shoot accurately and
quickly.
[Words of Erenthar, the bowman ranger]  <---------------<<<<
---------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.
Archive of the list: http://tania.be.linux.org/