Meir Faraj wrote:
> 
> Hi ,
> I've tryed this :
> [root@localhost myscripts]#  find .. -name "*.class" | rm
> rm: too few arguments
> Try `rm --help' for more information.
> 
> when :
> 
> [root@localhost myscripts]#  find .. -name "*.class"
> ../client/core/org/NoNextComponentException.class
> ../client/core/org/NoPartSelectedException.class
> ../client/core/org/PartNotFoundException.class
> ../client/core/org/XMLFactory.class
> ../client/core/org/XMLGui.class
> ../client/core/shell/component/XMLComponent.class
> ../client/core/shell/container/XMLPanel.class
> ../client/core/shell/main/NetSharer$1.class
> ../client/core/shell/main/NetSharer.class
> ../client/core/utils/codecs/Base64.class
> 
> so rm doesn't see the pipe ;-)

use instead:

rm `find .. -name "*.class"`

that should do the trick ...

-- 
                                                        _     
Tsch�ss und bis demn�chst/� bient�t,                  _|_|_   
                                                       (")   *
                                    Stefan             /v\  / 
                                                     /(   )X  Penguin Powered!
+------------------------------------+----------------(m-m)------------------+
| Stefan Siegel                      | http://www.student.uni-kl.de/~siegel/ |
| Kurt-Schumacher-Str. 34 / App. 144 | mailto:[EMAIL PROTECTED]      |
| D-67663 Kaiserslautern             | PGP Public Key:                       |
| Tel.: +49-631-18269                |   finger -l [EMAIL PROTECTED]   |
+------------------------------------+---------------------------------------+

Reply via email to