Created
August 15, 2018 02:57
-
-
Save kittinan/fc76b4f676a4c22be1f8d1dcc6b24d68 to your computer and use it in GitHub Desktop.
shell script add prefix to 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
#!/bin/bash | |
for f in * ; do mv -- "$f" "PRE_$f" ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment