diff --git a/games/save.game.steam b/games/save.game.steam index 8a8a7de..4437ed6 100755 --- a/games/save.game.steam +++ b/games/save.game.steam @@ -91,6 +91,8 @@ move_steam_game_dir() { ## If a remote directory doesn't already exists for this game if [ ! -d "${_remote_game_path}" ]; then + ### Ensure to create tree directories on remote storage + mkdir -p -- "$(dirname "${_remote_game_path}")" ### Move data to remote storage mv -- "${_local_game_path}" "${_remote_game_path}" [ "${debug}" -eq "0" ] && printf '\e[1;35m%-6s\e[m\n' "DEBUG : Move Steam game − The data of ${_game_id} − ${_local_game_path} moved to remote storage."