This commit is contained in:
2019-10-21 18:56:29 -07:00
parent 4c161b0526
commit 743ee4be1f
7 changed files with 33 additions and 15 deletions

View File

@@ -20,7 +20,7 @@ $dmg = $dest."/Polyfill.sparsebundle";
if (file_exists($dmg)) {
exec("trash ".$dmg."; umount -f /Volumes/Polyfill");
}
exec("hdiutil create -size 100g -fs HFS+ -type SPARSEBUNDLE -volname Polyfill -attach ".$dmg);
exec("hdiutil create -size 1tb -fs HFS+ -type SPARSEBUNDLE -volname Polyfill -attach ".$dmg);
$base = "/Volumes/Polyfill";
$sample_files = glob($sample."/*.*");