9 lines
608 B
Markdown
9 lines
608 B
Markdown
# runram
|
|
|
|
A bash 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 |