bobsmith76
0
Q:

Remove file extension from file within dir Ask Question

find . -name "*.bak" -type f -delete
3
import os
os.path.splitext(current)[0]
1

New to Communities?

Join the community