Skip to content

Option -keep no is unreliable #18

Open

Description

@JohanHeyvaert

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

Activity

  1. npocmaka commented on Jan 11, 2019

    @npocmaka
    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.

  2. JohanHeyvaert commented on Jan 11, 2019

    @JohanHeyvaert
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions