I am trying to create a zip file with a symbolic link.
I have a subfolder in my mainfolder with some.bundle. I create symbolic link for this some.bundle which is placed in another subfolder of mainfolder.
I then zip it using Terminal.
My problem is when I open the zip via Terminal and then try to copy the bundle to some other folder using the symbolic link. It doesn't works.
It gives an error something like this..
cp:/path to my subfolder with bundle symbolic link/some.bundle No such file or directory
Best Answer
I did the following to check/solve this (but I don't really know if I understand the question/the problem correctly):
Create a file.bundle with
Create a symlink in another folder
the (re-transcribed) hex content of the symlink is:
Zip the symlink
Create a folder (step4), cd into it and unzip step3file.bundle.zip
the (re-transcribed) hex content of the unzipped symlink in /Users/user/temp/step4/Users/user/temp/step2 is still:
Copy file.bundle in folder step1 using the symlink in a subfolder of folder step4 into folder step5
The above steps work. You probably zipped the folder containing the symlink and/or got some paths/commands (and maybe some options) wrong.