如何在命令行上递归删除所有 .DS_Store 文件
使用此命令递归删除目录 mydir 及其所有子目录中存在的所有 .DS_Store 文件:
delete_ds_store.sh
find mydir -type f -name .DS_Store -print0 | xargs -0 rm**警告:**删除文件无法撤销。
Check out similar posts by category:
Linux
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow