Closed StefanBrand closed 4 years ago
What do you see if you run man zip
and search for -y
? Mine has exactly the same help message, but in the man page I also have:
-y
--symlinks
For UNIX and VMS (V8.3 and later), store symbolic links as such in the zip archive, in‐
stead of compressing and storing the file referred to by the link. This can avoid mul‐
tiple copies of files being included in the archive as zip recurses the directory trees
and accesses files directly and by links.
BTW, I have exactly the same version of zip (3.0, July 5, 2008) installed on Linux and it works perfectly for me. Wondering if your version of zip hasn't been compiled with some special flags or something.
Mind hopping over to slack so I can help more effectively?
I ended up installing Spark without SDKMAN. Found this excellent tutorial to get it working: http://deelesh.github.io/pyspark-windows.html
I'm trying
sdk install spark
on Windows 10 and have installed Gow for GNU utilities. After downloading Spark, which takes ~10 minutes for 250MB, the installation procedure exits withzip error: Invalid command arguments (short option 'y' not supported)
The issue is here:
/usr/bin/env zip -qyr "$zip_output" .
cannot work because
zip
has no-y
option... (see below)How can I solve this?
zip
help