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
What I do:
I connect via SSH. Open a folder, and right-click a file to select Create archive (name).tar
What happens:
A tar archive is created in the same directory. However the name does NOT end with .tar, because the new file name is truncated after any white space. If there are no spaces in the file PATH, he entire name is used, and the archive ends with .tar. (yay!)
If right-click on the file name and select create Archive-> file name.zip and the file path has any spaces it it, no zip file is created. (I searched the entire computer just in case the file was being saved elsewhere.)
If the file path name does not have any spaces, then all 4 types of archives are created successfully in the same directory.
The Expand archive did not work for all 4 types (zip, tar, b2, gz), if there are no spaces in the file name, but the file path does include a space.
I tried this while connected to both Mac OSX 10.3.9 & 10.4.9 with the same results for both.
Thanks! Log follows:
Can not create a ZIP archive if spaces in file path:
zip warning: name not matched: with
zip warning: name not matched: space.gif.zip
zip warning: name not matched: /Users/macmedix/Documents/macmedix/filename
zip warning: name not matched: with
zip warning: name not matched: space.gif
zip error: Nothing to do! (try: zip -rv /Users/macmedix/Documents/macmedix/filename . -i with space.gif.zip /Users/macmedix/Documents/macmedix/filename with space.gif)
Creating a Zip archive (no spaces in file name) Works OK:
What I do:
I connect via SSH. Open a folder, and right-click a file to select Create archive (name).tar
What happens:
A tar archive is created in the same directory. However the name does NOT end with .tar, because the new file name is truncated after any white space. If there are no spaces in the file PATH, he entire name is used, and the archive ends with .tar. (yay!)
If right-click on the file name and select create Archive-> file name.zip and the file path has any spaces it it, no zip file is created. (I searched the entire computer just in case the file was being saved elsewhere.)
If the file path name does not have any spaces, then all 4 types of archives are created successfully in the same directory.
The Expand archive did not work for all 4 types (zip, tar, b2, gz), if there are no spaces in the file name, but the file path does include a space.
I tried this while connected to both Mac OSX 10.3.9 & 10.4.9 with the same results for both.
Thanks! Log follows:
So the problem appears to be spaces in the file name or file path. Either will cause a problem.
The text was updated successfully, but these errors were encountered: