Update README.md

This commit is contained in:
2025-08-10 22:12:21 +01:00
parent 9d520f90e5
commit 9a492b2268
+2 -1
View File
@@ -1,8 +1,9 @@
# 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.
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