Last active
September 5, 2022 13:32
-
-
Save 2gn/e485ae6de8632449958e80bc31e3e385 to your computer and use it in GitHub Desktop.
Add extension to a file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: addext <original_filename> <file_extension> | |
# Example: addext useles s | |
# -> useles.s | |
mv $1 $1.$2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment