For the future regarding Flash drives. The different filesystems used by Mac and Windows (APFS and NTFS) can be used on Linux.
APFS support is sometimes built in, but if not can be installed by following the guide here(github). Note that this will require building from source, which can be scary if you haven't done it before, but is pretty easy if a bit tedious. This repo in particular has a good guide.
For NTFS support, you can install the read-only ntfs package, or the read-write ntfs-3g package. This utilizes the FUSE so you'll need the 'fuse' tools as well.
For the older Apple HFS+ filesystem you'll need hfsprogs. This is available from the AUR on Arch based distros, or in the Bookworm repo for Debian distros. For other distributions you may need to compile from source which you can find from the Debian package page.