【代码】清理MacOS上zip文件中的隐藏目录 发表于 2022-05-14 更新于 2024-05-07 阅读次数: 前言使用Automator,编写一个清理MacOS上zip文件中的隐藏目录的脚本 源代码12345678for f in "$@"do fileType=$(file -bI "$f") if [[ $fileType == "application/zip; charset=binary" ]]; then zip -d "$f" \*__MACOSX\* || true zip -d "$f" \*.DS_Store\* || true fidone 完成参考文献少数派——涔C