T016 Commands
(Discovery & Initial Inventory)
# Discovery
find "/mnt/kitchen/MEDIA LIBRARY/GAMES/DREAMCAST" -maxdepth 4 \( -iname "*D2*" -o -iname "*.chd" -o -iname "*.cdi" -o -iname "*.gdi" -o -iname "*.zip" -o -iname "*.7z" \) -print | grep -i d2 | sort
# Tool verification
command -v sha256sum 7z chdman file du
# Per-file inventory (all 8 primary candidates)
for path in "D2 (Disc 1 of 4)(USA).zip" "D2 (USA) (Disc 1).7z" "D2 CHD/D2 (USA) (Disc 1).chd" \
"D2 CHD/JP VSN/D2 - D no Shokutaku 2 (Japan) (Disc 1).chd" \
"D2 CHD/JP VSN/D2 - D no Shokutaku 2 (Japan) (Disc 2).chd" \
"D2 CHD/JP VSN/D2 - D no Shokutaku 2 (Japan) (Disc 3).chd" \
"D2 CHD/JP VSN/D2 - D no Shokutaku 2 (Japan) (Disc 4).chd" \
"D2 CHD/JP VSN/D2 Shock (Japan).chd"; do
du -h "/mnt/kitchen/MEDIA LIBRARY/GAMES/DREAMCAST/$path"
sha256sum "/mnt/kitchen/MEDIA LIBRARY/GAMES/DREAMCAST/$path"
file "/mnt/kitchen/MEDIA LIBRARY/GAMES/DREAMCAST/$path"
done
# CHD inspection
chdman info -i "/mnt/kitchen/MEDIA LIBRARY/GAMES/DREAMCAST/D2 CHD/D2 (USA) (Disc 1).chd"
# 7z archive inspection
7z l "/mnt/kitchen/MEDIA LIBRARY/GAMES/DREAMCAST/D2 (USA) (Disc 1).7z" | head -20
7z l "/mnt/kitchen/MEDIA LIBRARY/GAMES/DREAMCAST/D2 (Disc 1 of 4)(USA).zip" | head -20
# Staging directory preparation
mkdir -p /mnt/kitchen/collab/d3-tui/asset-staging/raw/d2-title
mkdir -p /mnt/kitchen/collab/d3-tui/asset-staging/converted/d2-title
mkdir -p /mnt/kitchen/collab/d3-tui/logs/d3-03