Skip to main content

LS

Deprecated version

This document refers to a deprecated version of the RQL programming language.

Please go here for documentation related to the latest supported version.

Lists the contents of a location. Fails with a runtime error if the location is not accessible or cannot be listed.

Syntax
LS(<location>, cache := <default interval>)
Example
LS("s3://bucket1/path1/**/*.json") // Lists all json files in all subdirectory of 'path1' in 'bucket1'.