Created
August 9, 2019 16:19
-
-
Save rafasoares/2478b3045ce60187d36f9fd388715e1c to your computer and use it in GitHub Desktop.
Copying `.sample` files removing the `.sample` extension (one liner)
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
for file in *.sample; do cp $file ${file/.sample/}; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment