如何从目录中删除所有 Apple binary property list 文件

在备份中你经常看到类似这样的文件

apple_binary_samples.txt
0899d5d3c7f86344a8c085a053f5ca106482e6b8: Apple binary property list
089ce36beb618daa09263be95bd70880bd974dae: Apple binary property list
08b86c8bffdf6b12a0e4bd9f6807316afac51b53: Apple binary property list

没有文件扩展名,当你只关心备份的文件本身而不关心任何 Apple 相关元数据时,这些文件没有用。

你可以使用以下命令删除它们

remove_apple_binary_props.sh
file * | grep "Apple binary property list" | cut -f1 -d: | xargs rm -v

Check out similar posts by category: Linux