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

Option -keep no is unreliable #18

Open
JohanHeyvaert opened this issue Jan 9, 2019 · 2 comments
Open

Option -keep no is unreliable #18

JohanHeyvaert opened this issue Jan 9, 2019 · 2 comments

Comments

@JohanHeyvaert
Copy link

JohanHeyvaert commented Jan 9, 2019

Hi,
Thank you for this great script!

The option -keep no doesn't seem to be reliable though. Sometimes the source folder remains to exist; some of its contents was deleted, but not all if it.
I've worked around this by performing an RD of the source folder aftwerwards.

Best regards,
Johan

@npocmaka
Copy link
Owner

@JohanHeyvaert - I suppose you have issues with -keep false when zipping a content (as you are able to use rd command)? I will check this during the weekend.

@JohanHeyvaert
Copy link
Author

JohanHeyvaert commented Jan 11, 2019

That is correct. I use the following parameters: zipItem -source "!destPath!" -destination "!zipPath!" -keep no -force yes
destPath is a variable containing a path to a folder.
zipPath of course is a path to the destination zip file.

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