I have many files with .txt extension. How to remove .txt extension for multiple files in linux?
I found that
rename .old .new *.old
In Fish, you can do
for file in *.old touch (basename "$file" .old).new end