Skip to content

Tochd only processing either CUE/BIN or ISO, not both #12

@h1ghb1rd

Description

@h1ghb1rd

When running tochd in a folder containing BIN/CUEs and ISOs, it only processes one format, but not both.
I'm not sure under which conditions one format gets chosen over the other, I have folders where it ignores ISOs and folders where it ignores CUE/BIN files.

Is this expected behavior?

An sample test case, just showing the general problem, not an exhaustive test:

butnut@PAD /mnt/demo % ls -AhgG games
total 4.3G
-rwxrwxrwx 1 587M Dec 24  1996 BIN_PS2game.bin
-rwxrwxrwx 1   74 Sep 20 12:49 BIN_PS2game.cue
-rwxrwxrwx 1 2.8G Dec 24  1996 ISO_PS2game.iso
-rwxrwxrwx 1 978M Sep 20 10:15 ZIPPED_ISO_PS2game.zip

butnut@PAD /mnt/demo % tochd -X -s games
Files in queue: 2
Job 1     Skipped:      /mnt/demo/games/BIN_PS2game.cue
Job 2     Skipped:      /mnt/demo/games/ZIPPED_ISO_PS2game.zip
Started: 0
Skipped: 2
Failed: 0
Completed: 0
Elapsed time: 0:00:00

butnut@PAD /mnt/demo % mv games/*.bin games/*.cue hidefiles

butnut@PAD /mnt/demo % ls -AhgG games
total 3.7G
-rwxrwxrwx 1 2.8G Dec 24  1996 ISO_PS2game.iso
-rwxrwxrwx 1 978M Sep 20 10:15 ZIPPED_ISO_PS2game.zip

butnut@PAD /mnt/demo % tochd -X -s games
Files in queue: 2
Job 1     Skipped:      /mnt/demo/games/ISO_PS2game.iso
Job 2     Skipped:      /mnt/demo/games/ZIPPED_ISO_PS2game.zip
Started: 0
Skipped: 2
Failed: 0
Completed: 0
Elapsed time: 0:00:00   

System information:

butnut@PAD /mnt/demo % tochd --version
tochd v0.13
butnut@PAD /mnt/demo % uname -a
Linux PAD 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
butnut@PAD /mnt/demo % lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.5 LTS
Release:        22.04
Codename:       jammy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions