Some of the files were not able to be unzipped using either “unzip” command or “ditto” command via terminal
however, since they were getting opened perfectly using the “Archive Utility”, one option was to use the
terminal to open such files. e.g. below
open -a "Archive Utility" 0B9822F3-FE6C-4FB6-AB47-C98DA932279D_205155390.zip
The only inconvenience is that we cannot specify the destination folder.
This can be automated using a simple shell script like this
for file in *; do
echo $file
open -a "Archive Utility" $file
done
References:
No comments:
Post a Comment