Am Freitag, 7. Juli 2006 17:07 schrieb David Haller:
find /ordner/ -type d -mindepth 1 -maxdepth 1 -user al -print0
Das passt mir schon ganz gut. IMO darf aber -type d nicht vor -mindepth stehen. find: warning: you have specified the -mindepth option after a non-option argument -type, but options are not positional (-mindepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. Ich habe jetzt mal das als 1. Teil: find /ordner/ -mindepth 1 -maxdepth 1 -user `whoami` -type d Um das an xargs zu übergeben brauche ich doch: find /ordner/ -mindepth 1 -maxdepth 1 -user `whoami` -type d -print0 oder? D.h. die Argument dürfen kein return haben. Nun möchte ich aber dass, die Liste auch noch sortiert wird. Wie baue ich das in den find-Befehl ein? Al -- Um die Liste abzubestellen, schicken Sie eine Mail an: suse-linux-unsubscribe@suse.com Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: suse-linux-help@suse.com