What is google Cloud CLI command to retrieve current dated files presented in the Google Storage bucket ? without specifying date manually. Do we have any sysdate or createdate kind of command ?

1

There are 1 answers

0
Sarah Remo On

With this CLI Command, you can get files with the current date from the bucket you specify:

gsutil ls -l gs://[your-bucket-name]/ | sort -r -k 2

See sample output below: enter image description here