Le 09/05/2001 � 18:55 Arnaud Vandyck a �crit :
>On Wed, 9 May 2001, Olivier Thauvin wrote:
>
>>
>> J'ai essay� mais non:
>>
>> [root@supersport toto]# ls
>> -fr * 1 12 roro
>> [root@supersport toto]# rm \-fr\ \*
>> rm: option invalide --
>> Pour en savoir davantage, faites: `rm --help'.
>>
>> R�ponse d�j� donn� rm -- fichier
>
>En effet, je viens d'essayer aussi... magique ;)
la r�ponse est :
$pwd
/home/toto
$cd ..
$mv toto temp
$mkdir toto
$cd temp
$ tar cf - `ls | grep -v "\-rf"` | (cd ../toto && tar xvf -)
$cd ..
$rm -rf temp
�a devrait fonctionner tr�s bien
il est vrai que ce n'est pas super optimis�
si toto contient bcp de fichiers....
@++
nicod
[ Soyez pr�cis dans vos sujets svp afin de d�terminer directement ]
[ le type de demande... ]
[ Pour vous (d�s)inscrire, aller sur http://linuxbe.org/ml.php ]
[ http://LinuxBe.org Contact: [EMAIL PROTECTED] ]