MicroSD files vanishing upon folder rename

Very strange… I’m processing and tagging flac audio files, then copying them one folder/album at a time to a microSD card (volume G:, if it matters), then slightly renaming the folder on the card. When I’ve completed the simple inline renaming, the contents of the folder disappears (apparently gets deleted). For example, I copy a folder named “[1965-02-25] Great Album [2021] [DR12]” to “G:\Music\Mark & Fred\”, verify the 200+ MB of FLAC files are present in it, then rename the folder to “G:\Music\Mark & Fred[1965-02-25] Great Album [2021]”. I use my keyboard shortcut for getting the size of a folder, and it indicates that folder is now empty. If I open that folder in a new tab prior to the rename, then switch back to the tab for ““G:\Music\Mark & Fred\” and do the rename, then switch back to the newly opened tab for “G:\Music\Mark & Fred[1965-02-25] Great Album [2021]”, all the flac files continue to be displayed there until I do an F5 refresh, then they’re gone. Same thing happens if I stay in the newly opened tab and do the rename in the folder tree. This has happened for multiple albums/folders over the past few days, using at least two different microSD cards, but as far as I can tell, not prior to that. It does not seem to happen if I copy an album folder to some other location on an internal drive and rename there.

Running Directory Opus v12.25 x64 under Windows 10 Pro v2004 build 19041.1288.

Maybe, as Flac are large, you didn't wait system to finish writing (or emptying cache) to SD and collide on rename.

In some cases, I didn’t do the rename operation until a minute or more later, but the files still disappeared. Anyway, I’ve now tried the same sequence of operations using Windows Explorer instead of DOpus (which I should have done before my initial post here), and the files disappeared there as well, so that should rule out DOpus being at fault. I’ve also now switched to another microSD card, from which the newly copied files DID NOT disappear following rename of the folder they were in. Must be the other cards, then.

2 Likes

SD-cards can have different speed (overall they are slow) and Cache-issues are a Windows-thing (so occure with Explorer, too). As Flac have xx MB in size, caching can take minutes to complete depending on SD-card-speed.

After copying you can try to eject the card via Windows-tray. If it fails because the card is still in use, it seems that Windows is still emptying cache to card. Nevertheless its strange to lose files, maybe also an antivirus is involved or bad/old card-driver.

AFAIK you can turn off cache for removable drives, but things will be very slow then.