You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Depending on the zip file being extracted, it either makes a subdirectory with the name of the zip file as the folder and put its contents inside there or extracts the contents directly to targeted directory.
I want to control the behaviour across all extracted zips to be either extract everything in the targeted directory as it or make a subfolder of the named zip and push the zip content there. I cant seem to determine if there are optional parameters for this?
From observation, if the extracted zip has sub folders in it, it will then make a folder with the name of the zip and copy it all inside of it. Compared to a zip with no sub folders.
Are there any optional params to force one way of extracting?
The text was updated successfully, but these errors were encountered:
There is a way around this, log out the entries and you will see a filepath you can use as a 'base'.
inside the onEntry callback you can then update the filepaths for all files and replace the name removing the 'base' from it.
after extraction you can then check if inside the folder the 'base' path exists and remove it.
Depending on the zip file being extracted, it either makes a subdirectory with the name of the zip file as the folder and put its contents inside there or extracts the contents directly to targeted directory.
I want to control the behaviour across all extracted zips to be either extract everything in the targeted directory as it or make a subfolder of the named zip and push the zip content there. I cant seem to determine if there are optional parameters for this?
From observation, if the extracted zip has sub folders in it, it will then make a folder with the name of the zip and copy it all inside of it. Compared to a zip with no sub folders.
Are there any optional params to force one way of extracting?
The text was updated successfully, but these errors were encountered: