mirror of
https://github.com/x-tools-author/x-tools.git
synced 2025-09-15 15:28:40 +08:00
7 lines
144 B
Bash
7 lines
144 B
Bash
#!/bin/bash
|
|
|
|
files=$(git ls-files | grep '\.hh$')
|
|
for file in $files; do
|
|
new_file=${file%.hh}.h
|
|
git mv "$file" "$new_file"
|
|
done |