8 lines
156 B
Bash
Executable File
8 lines
156 B
Bash
Executable File
#!/bin/bash
|
|
|
|
script=$1
|
|
|
|
echo $script
|
|
|
|
find . -iname "*$script*.user.js" -type f -exec sed -i '' -e "s=\(// @version[ ]*\).*=\\1$(date -I'seconds')=g" {} \;
|