# Delete all .pt and .pth files in the current directory and its subdirectories | |
find . -type f \( -name "*.pt" -o -name "*.pth" \) -exec rm -v {} \; | |
echo "All .pt and .pth files have been deleted." | |
# Delete all .pt and .pth files in the current directory and its subdirectories | |
find . -type f \( -name "*.pt" -o -name "*.pth" \) -exec rm -v {} \; | |
echo "All .pt and .pth files have been deleted." | |