Skip to content

Add output directory option to archive extract #9

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

Conversation

davschne-unity
Copy link
Collaborator

Specifications:

  • Optional arguments are added to UnityDataTools archive extract to set the output directory to :
    • long form: --output-path <directory path>
    • short form: -o <directory path>
  • If the directory specified doesn't exist, the tool should create it.
  • If no output directory is specified, the tool should extract the archive to a directory called archive in the current directory.
  • When extracting an archive, its internal file structure (i.e. subdirectories) should be preserved, not flattened.

@francis-page francis-page merged commit 0898a80 into Unity-Technologies:main Sep 25, 2023
@davschne-unity davschne-unity deleted the david.schneider/extract-outdir branch October 5, 2023 20:26
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

Successfully merging this pull request may close these issues.

2 participants