最近整理群晖内的电影,因为Jellyfin刮削了好多错误的封面图片和nfo信息,一个一个删除有点麻烦,而基于传统Linux的find . -name "*.jpg" | xargs rm -f命令在群晖下总提示rm: invalid option -- 'p'错误,所以需要用以下命令完成操作,要完整输入,包括最后的分号。

find . -name "*.jpg" -exec rm -rf {} \;

Last modification:March 23, 2021
If you think my article is useful to you, please feel free to appreciate