You can use udev and a script to accomplish this. Mount the partition read-only and it won’t corrupt it. You have to do your own updating based on the script.
FAT and NTFS are inherently prone to corruption if hot-plugged as they are not copy-on-write filesystems. If it is not mounted read-only, it will be corrupted if pulled out during a write.
BTRFS is our preferred because it can do duplicate data, metadata at the expense of storage and it countered by compression. It is COW as well so risk of full disk corruption is lower. No other FS comes close.
###from root### sudo apt install git git clone https://github.com/Ferk/udev-media-automount.git cd udev-media-automount make ln -s /media /home/pi/gcode_files/ #### symlink to target folder, this one is setup for Klipper
Create the file, 11-usb-sdcard-automount.rules to /etc/udev/rules.d
The drive will show as whatever name it has . file system type. In my example, USB.ntfs. Multiple drives will show up as well as USB SD card readers. Now just to write some scripts to push updates over USB for Klipper!!