# changeext **Repository Path**: chrunlee/changeext ## Basic Information - **Project Name**: changeext - **Description**: Changes the extension of some filename to a new one。 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-05-11 - **Last Updated**: 2023-06-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Changes the extension of some filename to a new one。 ========================================= ## Installation Install it as a command line tool via `npm -g`. ```sh npm install changeext -g ``` ## Execution ```sh $ changeext --help // print help information $ changeext txt js // change 'txt' to 'js' $ changeext -i js -t txt // change 'js' to 'txt' // or with directory $ changeext -d /home/test/ -i js -t txt // or loop for directory $ changeext -d /home/test/ -i js -t txt -l $ changeext txt js -r // change file extension with random name $ changeext txt js -e // encode the file or decode,decode info is fixed with 0xff $ changeext txt js -s 10 //change ext and rename file start 10 ``` ## License The MIT license.