Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -R recursive option to fs ls command #512

Open
justinTM opened this issue Jul 8, 2022 · 1 comment
Open

Add -R recursive option to fs ls command #512

justinTM opened this issue Jul 8, 2022 · 1 comment
Labels
dbfs commands related to dbfs feature New enhancement or feature request

Comments

@justinTM
Copy link

justinTM commented Jul 8, 2022

currently i'm just looping results of fs ls and appending results of command to the end of the root path before running the command again until i reach the file I'm looking for across all subdirectories.

what would be nice is a -R option to recursively list subdirectories of a DBFS path.

$ databricks fs ls -R --absolute "dbfs:/job-logs"
dbfs:/job-logs/0708-112403-f1tsd6as8/executor/app-20220708042345808-0000/0/stderr
dbfs:/job-logs/0708-112403-f1tsd6as8/executor/app-20220708042345808-0000/0/stdout
dbfs:/job-logs/0708-112403-f1tsd6as8/executor/app-20220708042345808-0000/1/stdout
dbfs:/job-logs/0708-112403-f1tsd6as8/executor/app-20220708042345808-0000/1/stderr
@justinTM
Copy link
Author

justinTM commented Jul 8, 2022

#513

@pietern pietern added feature New enhancement or feature request dbfs commands related to dbfs labels Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dbfs commands related to dbfs feature New enhancement or feature request
Projects
None yet
Development

No branches or pull requests

2 participants