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

Discern end of copy process? #567

Closed
jgoodleaf opened this issue May 8, 2019 · 1 comment
Closed

Discern end of copy process? #567

jgoodleaf opened this issue May 8, 2019 · 1 comment

Comments

@jgoodleaf
Copy link

On Windows, I need to watch a directory for the appearance of a new item. Now this is straightforward, but the catch here is that the new item will be a directory hierarchy. In other words, someone will copy a new tree into this location. I will not be in a position to know anything about the number of files and directories in the new tree, nor their size (and they could be sizable, up to 100GB). But I don't want to take any action until AFTER all the files have been copied.

Is there an elegant way to know for sure when the last part of the tree have finished copying? There are hacky solution where I could watch for the calculated size of the folder to stop growing, but I'm not in love with that approach... I'd like to control the initial copy, since that would give me some leverage, but that's out of the question at the moment....

@BoboTiG
Copy link
Collaborator

BoboTiG commented Oct 28, 2019

Closing as duplicate of #313.

@BoboTiG BoboTiG closed this as completed Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants