Support your work on RAMDisk
only MacOS
sh
$ git clone git@github.com:mkazutaka/ramup.git
$ cd ramup
$ cargo build
$ cargo run -- backup -p ~/example
This command backup your specified directory to RAMDisk. Orignal path is replaced as symbolic link. (BTW, It is not actual backup. if you shutdown your PC, your file go away)
shell
$ ramup backup -p <PATH>
This command restore actual files from symbolic link.
shell
$ ramup restore -p ~/taret/directory
Ramup also support config file. It is useful if you want to change detail option or use application settings existed.
Configuration file's path is ~/.config/ramup/config.toml
You can change through env value RAMUP_CONFIG_PATH
.
Example ```toml
[ram]
name = "RAMDiskByRamup"
size = 8388608
[[applications]]
name = "google_chrome"
[[applications]] name = "my_browser" paths = [ "~/Library/Application Support/MyBrowser", "~/Library/Preferences/MyBrowser", ] ```
MIT