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

Tweak dstripe so that it renames target file to source file after copy #38

Closed
adammoody opened this issue Jan 26, 2017 · 3 comments
Closed
Assignees

Comments

@adammoody
Copy link
Member

Currently the user must provide a temporary name, delete the source, and then rename the target after restriping a file. It would be nice to do this automatically, and this kind of feature will be especially useful when recursively restriping files in a directory tree.

dinatale2 added a commit to dinatale2/mpifileutils that referenced this issue Feb 8, 2017
No longer require the user to provide an output file
path. Introduce an optional flag which allows the user
to provide a different output file path.

Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Close hpc#38
dinatale2 added a commit to dinatale2/mpifileutils that referenced this issue Feb 8, 2017
No longer require the user to provide an output file
path. Introduce an optional flag which allows the user
to provide a different output file path.

Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Close hpc#38
@dinatale2
Copy link
Contributor

@adammoody I just realized that there are mfu functions for operations such as deleting a file. I'll go back and use those instead and I'll add new mfu functions for the operations that don't exist.

dinatale2 added a commit to dinatale2/mpifileutils that referenced this issue Feb 8, 2017
No longer require the user to provide an output file
path. Introduce an optional flag which allows the user
to provide a different output file path.

Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Close hpc#38
@dinatale2
Copy link
Contributor

Updated dstripe to use mfu functions where appropriate. Let me know if you notice anything else that needs to change. I can also open a pull request if you'd like to do a formal review.

@adammoody
Copy link
Member Author

adammoody commented Feb 8, 2017 via email

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

No branches or pull requests

2 participants