I just saw a short sleeved shirt that I am considering purchasing. This shirt has a couple of large pockets which have magnets stitched into the shirt to hold the openings of the pockets closed. Sometimes I have a USB Flash Drive on a lanyard around my neck. If this USB Flash Drive brushes past these magnet(s) could the data on the USB Flash Drive get corrupted? Thanks in Advance.
Bob's right. Old media like floppies and magnetic recording tape used magnetic fields to align (physically move) the magnetic particles on the media to represent 1s and 0s. Flash drives don't use magnetic fields to "set" the gates to be open (high, 1) or closed (low, 0). That said, moving any conductive materials past a magnet (or magnet past the materials) can induce a current through that material. Too high a current could cause damage to devices in the circuit not expecting such potentials. However, I sure don't see a magnet used to keep a shirt pocket closed as having anything near the field strengths to hurt anything. Still, if I had a heart pacemaker implanted in my chest, I would buy a different shirt.