Skip to content

dt blob exists

Overview

Check if a file exists in the blob storage

Synopsis

dt blob exists  <bucket_name> <file_name> 

Arguments

  • bucket_name (required)
    Type: String
    The bucket name followed by the file name mybucket/myfile

  • file_name (required)
    Type: String

Examples

Test if a file exists

dt blob exists mybucket myfile
dt blob exists mybucket/myfile
dt blob exists blob://mybucket/myfile

SEE ALSO

← Back to dt blob