Created
June 3, 2016 21:14
-
-
Save alfredwesterveld/f1078830f9c59ad3d7e0cf654e062875 to your computer and use it in GitHub Desktop.
removing sample from extension => app.php.sample renamed as app.php
This file contains hidden or 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
| #!/bin/bash | |
| # -n => test only | |
| # rename -n 's/\.sample$//' *.sample | |
| # Do it for real | |
| rename 's/\.sample$//' *.sample |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment