Project

General

Profile

Anomalie #7775

'purge' ne supprime pas les .pyc

Added by Klaas TJEBBES about 7 years ago. Updated almost 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
Due date:
04/18/2014
% Done:

100%

Estimated time:
1.00 h
Spent time:
Distribution:
EOLE 2.4

Description

La commande actuelle (mauvaise) est :

alias purge="find -name '*.pyc' -o -name '*~' -delete" 

La bonne commande :

alias purge="find -name '*.pyc' -delete -o -name '*~' -delete" 

Associated revisions

Revision 158c60cf (diff)
Added by Joël Cuissinat about 7 years ago

Correction de l'alias EOLE "purge"

Fixes: #7775 @20m

History

#1 Updated by Daniel Dehennin about 7 years ago

En fait j’ai oublié les parenthèses :

alias purge="find \( -name '*.pyc' -o -name '*~' \) -delete" 

#2 Updated by Joël Cuissinat about 7 years ago

  • Due date set to 04/18/2014
  • Estimated time set to 1.00 h

#3 Updated by Joël Cuissinat about 7 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#4 Updated by Joël Cuissinat about 7 years ago

  • Assigned To set to Joël Cuissinat

#5 Updated by Joël Cuissinat almost 7 years ago

  • Status changed from Résolu to Fermé
root@esbl:~# touch toto.pyc
root@esbl:~# purge
root@esbl:~# ls
root@esbl:~#

Also available in: Atom PDF