![]() ![]() Now tap on the Get Info and select the Name & Extension option.Select the zip files and right-click on them.Method 2: Rename the zip files (not sure but helped a few) If not try the next method to unzip files. This will help in unzipping the files.Type UnZip File or Folder name.zip (example.zip).Launch Terminal on your Mac by tapping on Applications ->Utilities ->Terminal.The advantage of gzip, is that it is more widespread than 7-zip if you first has to take such measures. I haven’t but it may also be interesting to look into gzip ( man gzip) I think there is a great likelihood that gzip may hack it, but I may be wrong. archive.7zīut the modification date, isn’t preserved. Īnd extracted with this: in a subdirectory, and at least the file creation dates are the same! 7z e. ![]() I compressed the current directory with this commandline: 7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on archive.7z. I don’t know about the compatibility with ditto or zip though, so I have no idea if 7-zip fills your quota in other ways than preserving the file creation date when compressing, and extracting archieves. I have looked at 7-zip which according to my tests preserves the file creation dates. ![]() The last line was for removing the resourcefork from an already created archieve. ![]() I am looking at the finder for these dates. I manually ran zip and unzip from command line, but creation date was not preserved, it was set same as modification date. I ran the code, but not sure what it did, since didn’t see any zip file created anywhere. I am assuming pxFn above is a variable holding the path to the file/folder I want to zip. Hi, I downloaded your code and tried to run it on my computer. do shell script "zip -dr " & quoted form of pxFn & " _MACOSX/\\* >/dev/null unzip -l " & quoted form of pxFn & " |grep \".DS_Store\" | tr -s \" \" |cut -d \" \" -f 5-20 |zip -d " & quoted form of pxFn & " >/dev/null ||echo >/dev/null" Information about the files (name, path, date, time of last modification, protection, andĬheck information to verify file integrity).īy the way, here is the way to create a cross platform archieve with zip, similar to the ditto ”norsrc command. The zip program puts one or more compressed files into a single zip archive, along with ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |