now you don't get nastygrams if a game's save dir exists but there are no save files to save; it just skips that one. play it some more and you'll see the saves show up again.
source_dir="$1"; shift
out_dir="$1"; shift
source_dir="$1"; shift
out_dir="$1"; shift
- if [ -d "$source_dir" ]; then
+ if [ -d "$source_dir" -a $(ls "$source_dir" 2>/dev/null | wc -c) != 0 ]; then
echo $game_name
if [ ! -d "$out_dir" ]; then
mkdir -p "$out_dir"
echo $game_name
if [ ! -d "$out_dir" ]; then
mkdir -p "$out_dir"