Remove the same part of many filenames via command line

I have multiple files with same suffix and need to remove the suffix.

for file in Star*; do
    mv "$file" "${file/10bit.AAC.1./}"
doneCode language: JavaScript (javascript)

Leave a Reply