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

find-Problem



N'abend liste,

ich raff's nicht:

Der folgende Befehl

find /home -type f \( -path /home/apps -o -path /home/moreapps \)
-prune -o -name "*"

sollte mir eigentlich alle Files anzeigen, die

- nicht im Verzeichnis /home/apps liegen
und
- nicht im Verzeichnis /home/moreapps liegen

Leider werden mir aber auch diese Dateien angezeigt - hat da jemand
eine Erklaerung und vielleicht eine Idee, wie ich mehrere
Verzeichnisse von der Suche ausschliesen kann? Ich war mir eigentlich
sicher, dass es mit find funktionieren muesste...

Gruebel-Gruss

Gregor
-- 
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371


Reply to: