Wie, um nur Dateien von aws s3 ls-Befehl?

Ich bin über die aws cli zum auflisten der Dateien in einem s3-bucket mit dem folgenden Befehl (Dokumentation):

aws s3 ls s3://mybucket --recursive --human-readable --summarize

Dieser Befehl gibt mir folgende Ausgabe:

2013-09-02 21:37:53   10 Bytes a.txt
2013-09-02 21:37:53  2.9 MiB foo.zip
2013-09-02 21:32:57   23 Bytes foo/bar/.baz/a
2013-09-02 21:32:58   41 Bytes foo/bar/.baz/b
2013-09-02 21:32:57  281 Bytes foo/bar/.baz/c
2013-09-02 21:32:57   73 Bytes foo/bar/.baz/d
2013-09-02 21:32:57  452 Bytes foo/bar/.baz/e
2013-09-02 21:32:57  896 Bytes foo/bar/.baz/hooks/bar
2013-09-02 21:32:57  189 Bytes foo/bar/.baz/hooks/foo
2013-09-02 21:32:57  398 Bytes z.txt

Total Objects: 10
   Total Size: 2.9 MiB

Dies ist jedoch meine gewünschte Ausgabe:

a.txt
foo.zip
foo/bar/.baz/a
foo/bar/.baz/b
foo/bar/.baz/c
foo/bar/.baz/d
foo/bar/.baz/e
foo/bar/.baz/hooks/bar
foo/bar/.baz/hooks/foo
z.txt

Wie kann ich weglassen, das Datum, die Uhrzeit und Dateigröße, um zu zeigen, nur die Datei-Liste?

InformationsquelleAutor der Frage Borealis | 2016-04-23

Schreibe einen Kommentar