Linux xargs command

find. /-type f "pyc" | xargs rm

I want to delete the local pyc file. This doesn"t seem to be correct

Aug.04,2021

find -type f -name '*.pyc' -print0 | xargs -0 rm
find -type f -name '*.pyc' -delete  -sharp deleterm
Menu