#!/bin/bash set -x cp ../arpg_cli_proj/arpg/Assets/RawResources/MapConfig/Room/*.room cfg/sog/map/ cp ../arpg_cli_proj/arpg/Assets/RawResources/HexMapConfig/*.map cfg/sog/map/ cd cfg/sog/map/ for file in ./*.map do base=${file%.*} mv $file ${base}.room done