jemand anders
Erfahrenes Mitglied
Hallo,
gibt es eine Möglichkeit, das folgende tree-Kommando mit ls nachzubilden?
Ich habe etwas bei Redhat gefunden ( Is there a command like 'tree' to list the directory structure in RHEL 4. - Red Hat Customer Portal ), aber da fehlen die Berechtigungen:
Danke.
Freundl. Grüße
gibt es eine Möglichkeit, das folgende tree-Kommando mit ls nachzubilden?
Code:
$ tree -L 3 -pufd
├── [drwxr-xr-x user4711 ] ./bootstrap-3.3.6
│ ├── [drwxr-xr-x user4711 ] ./bootstrap-3.3.6/dist
│ │ ├── [drwxr-xr-x user4711 ] ./bootstrap-3.3.6/dist/css
│ │ ├── [drwxr-xr-x user4711 ] ./bootstrap-3.3.6/dist/fonts
│ │ └── [drwxr-xr-x user4711 ] ./bootstrap-3.3.6/dist/js
│ ├── [drwxr-xr-x user4711 ] ./bootstrap-3.3.6/docs........
Ich habe etwas bei Redhat gefunden ( Is there a command like 'tree' to list the directory structure in RHEL 4. - Red Hat Customer Portal ), aber da fehlen die Berechtigungen:
Code:
ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'
Danke.
Freundl. Grüße