papermc/a.sh
Nassim Jahnke f6ea3736a7
Patches
2024-04-25 11:42:10 +02:00

9 lines
150 B
Bash

#!/bin/bash
cd patches/server
for file in [0-9][0-9][0-9][0-9]-*.patch; do
suffix=$(echo $file | cut -d'-' -f2-)
mv "$file" "$suffix"
done