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

Files: Support endpoint to retrieve total size of a directory. #67

Open
scblack321 opened this issue Nov 29, 2022 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@scblack321
Copy link
Contributor

scblack321 commented Nov 29, 2022

When implementing this, be sure to consider handling things like:

  • follow or don't follow symlinks
  • max depth
  • don't fall victim to circular symlinks

Maybe use "du" command from ssh to get the results? Some or all of those issues are probably handled already

@scblack321 scblack321 added the enhancement New feature or request label Nov 29, 2022
@scblack321 scblack321 self-assigned this Nov 29, 2022
@scblack321 scblack321 self-assigned this Apr 7, 2023
@scblack321
Copy link
Contributor Author

scblack321 commented Apr 7, 2023

This has also been requested by @NotChristianGarcia , so we might want to bump up the priority.
One option is to add an endpoint (or modify an existing endpoint) to run du -b for a path on a LINUX type Tapis system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants