fatutil - A Tool to Manipulate FAT32 Filesystem Images
March 27, 2015
I often times run across the need to manipulate FAT filesystem images as part of an automated build process. Basically, I want to be able to generate a FAT filesystem image and then add files, remove files, and inspect the contents of the filesystem image without having to depend on root access (loopback mount) or fuse. So, I've converted a project that goes by many names, including libfat and fuse-umfuse-fat into something called fatutil.
The source can be found at https://github.com/digitalpeer/fatutil
usage: fatutil FATIMG CMD [OPTIONS] Where CMD [OPTIONS] is one of the following: stat ls DIR rmdir DIR unlink FILE mkdir DIR write SOURCE_FILE FAT_DEST_FILE read FAT_SOURCE_FILE DEST_FILE