T Thu Ha New member Jan 12, 2022 #1 How do I remove a file extension in Unix? Answer To simply remove the extension you can explicitly pass in an empty string as an argument. With the above command all files with . gz. tmp extension in the current folder will be renamed to filename.
How do I remove a file extension in Unix? Answer To simply remove the extension you can explicitly pass in an empty string as an argument. With the above command all files with . gz. tmp extension in the current folder will be renamed to filename.