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

zip file bug on windows and linux #589

Merged
merged 1 commit into from
Aug 18, 2023
Merged

zip file bug on windows and linux #589

merged 1 commit into from
Aug 18, 2023

Conversation

zx9597446
Copy link
Contributor

If there are directories in a zip file compressed on the Windows platform, the "\" in the filepath will cause the files to be extracted normally on Linux, and ls will show filenames containing single quotes.

So when compressing, I replace "\" with "/" so that it seems there are no issues on both Windows and Linux.

If there are directories in a zip file compressed on the Windows platform, the "\\" in the filepath will cause the files to be extracted normally on Linux, and ls will show filenames containing single quotes.

So when compressing, I replace "\\" with "/" so that it seems there are no issues on both Windows and Linux.
@zx9597446
Copy link
Contributor Author

#584 (comment)

@schollz
Copy link
Owner

schollz commented Aug 18, 2023

Thanks!!

@schollz schollz merged commit cff8cdd into schollz:main Aug 18, 2023
1 of 2 checks passed
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