-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
--dryrun to include download estimate as well as check for free space at destination #6863
Comments
Hi @hossimo, I would also like to request the community to make sure to 👍🏼 this |
Hi @hossimo, With regards to checking the remaining disk space, the team is concerned that it may be difficult to reliably determine the disk space left for a transfer. It also raises concerns due to inconsistency when the target is an S3 bucket. A workaround here would be to find the size of the bucket using:
and then use the du command to get the size of the directory. Also, I will be updating the title of the issue to Our team just put out a recent proposal in #6828 (#6828) detailing improvements to the contribution process, and we are currently reviewing all open PRs and issues. This issue is now in the intake stage. Once we determine that there is more user impact, as measured by 👍🏻 reactions on this issue, we can move forward with an implementation. You can read more about this stage and the rest of the process here. Thank you so much for your patience. |
Thanks for the reply. good point on the As for the remaining size, personally I use the |
Describe the feature
using the --dryrun flag it would be great to get an idea of how much will be downloaded and if there would be enough space at the destination for the files being downloaded.
For example:
Use Case
I'm often moving large (multi 100 GB) files in large (multi TB batches) and while I often have a handle on how much space in remaining on my destination drive or share There had been times when I did not realize that a sync might be larger than the remaining space.
Having some indication of the amount of data being transferred while doing a
--dryrun
would make this clear.Proposed Solution
ether adding the functionality to
--dryrun
or if worried about additional API calls adding a--dryrun-with-size
(not an inspired flag name). This would display the size in bytes, adding the--human
flag would change it the a valid size asls
currently does.Other Information
Some issues or edge cases.
Acknowledgements
CLI version used
2.4.15
Environment details (OS name and version, etc.)
AWS Linux, OSx, Windows
The text was updated successfully, but these errors were encountered: