1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-23 21:20:42 +01:00
PaperMC/a.sh
Nassim Jahnke 02eec3bcd0 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