9d520f90e5
Signed-off-by: Adrian Wood <ade@adeserv.uk>
8 lines
602 B
Markdown
8 lines
602 B
Markdown
# runram
|
|
|
|
A script which creates a RAMdisk, copies the contents of the current directory to it, and runs a command of your choice in that RAMdisk copy of the data. Once the command is complete, the RAMdisk contents are synced back to the original directory.
|
|
|
|
This allows commands to be performed on a directory at the lowest possible latency regardless of the locations of the files, at the expense of start/end time to swop the entire contents or the file system into memory, and the associated RAM requirement to store the files.
|
|
|
|
Usage: runram <ramdisk_size> <program_path>
|
|
Example: runram 1G dosbox |