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

need a move command in addition to copy #1

Open
laishulu opened this issue Apr 17, 2020 · 4 comments
Open

need a move command in addition to copy #1

laishulu opened this issue Apr 17, 2020 · 4 comments

Comments

@laishulu
Copy link

I also want to mv in addition to cp

@ChrisPenner
Copy link
Owner

Feel free to implement it 😄

This is a bit riskier to implement, tough to do it in a safe way!

@laishulu
Copy link
Author

Can you implement it?
Users can just ignore it if he does not need it. :-)

@omarabid
Copy link

omarabid commented Oct 4, 2020

@ChrisPenner

Can you shed a light on the security risk aspects? As far as I see, you just add a remove instruction to the copy command?

@ChrisPenner
Copy link
Owner

It's not a security thing so much as potential for data-loss; perhaps the best approach would be to just populate a text file with the src files, then copy them, then delete the source files if successful. Shouldn't be too tough if anyone feels like adding it 😄

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

3 participants