Remove file extension from file within dir Ask Question code example
Example 1: rm files with extension
find . -name "*.bak" -type f -delete
Example 2: Remove file extension from file within dir Ask Question
import os
os.path.splitext(current)[0]