genimage icon indicating copy to clipboard operation
genimage copied to clipboard

mountpoint: how to copy hidden files

Open tiopex opened this issue 2 years ago • 3 comments

I'm using mountpoint to fill vfat partition with content, hoever hidden files (with dot at the beginning) are not copied. How to copy them?

tiopex avatar Mar 16 '23 08:03 tiopex

Right, this is a limitation of the current implementation. The files are copied with mcopy. And there is no way to tell mcopy to copy the content of a directory toplevel into the vfat. So we basically copy ${mountpoint}/* and that obviously misses any hidden files. And there is no simple way to change that.

We would probably need to iterate manually and copy the files explicitly.

michaelolbrich avatar Sep 01 '23 09:09 michaelolbrich