When my computer mounts a USB, the files don't show up immediately, which is throwing off my script (which is quite quick). How do I make sure that the folder doesn't appear in my mounting directory (/run/media/$HOME) until all the files are at least listed?
How to make sure files are present when usb mounts?
filesystems;mount;usb