LoginSignup
2
2

More than 5 years have passed since last update.

Macで作ったzipをWindowsで開く際の作成時注意点

Posted at

細かな点だが、意外とはまったので。

Mac環境でzipを作成するときに、
pwd
/Users/pc01/Sample/
の状態で、
zip -r Sample.zip ../Sample/
をすると、Macではzipが解凍できるが、WindowsのLhaplusでは解凍することができなかった。
zip化するときに自分自身を含んでいることが問題だったみたいだ。

一つディレクトリを上がり、
zip -r Sample.zip ./Sample/
のようにするとWindowsでもzipファイルを解凍することができた。

解凍時の処理に問題があるのかちょっと調べてみたい。

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2