I have a bootable USB. It runs Linux. The size of USB pen is 8Gb, and linux partitions take less than 200Mb. $ diskutil list /dev/disk0 #: TYPE NAME SIZE ...
I needed a command-line method of creating a file whose size in bytes is the percentage of free space on a disk. I intend to run it via cron every five minutes, but first a shell script will do. The ...