Skip to content

mkazutaka/ramup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

27 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

ramup

Backup your work on RAMDisk (only for MacOS)

Feb-08-2020 12-10-28

Install

$ cargo install ramup

Backup

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)

$ ramup backup -p <PATH>

Restore

This command restore actual files from symbolic link.

$ ramup restore -p ~/taret/directory

Config

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

# RAMDisk Settings
[ram]
# RAMDisk's name
name = "RAMDiskByRamup"
# RAMDisk's size: 4096 * 2048 (1MB)  = 4GB
size = 8388608

# Application Settings
[[application]]
# see: https://github.com/mkazutaka/ramup/tree/master/applications
name = "google-chrome"

# You can also add your origin settings
[[applications]]
name = "my_browser"
paths = [
  "~/Library/Application Support/MyBrowser",
  "~/Library/Preferences/MyBrowser",
]

License

MIT

About

๐Ÿ‘ A command to backup your work on RAMDisk

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published