macOS
/ binaries
/
apfs_hfs_convert
/sbin/apfs_hfs_convert
Convert an existing HFS file system to APFS file system
The
apfs_hfs_convert
command converts an existing HFS file system to a new APFS file system.
source: man