i approve of the usage of small scripts like this to make common tasks easier.
myself i use a small script that is called tohd, that takes a directory from $HOME, moves it from RAMFS into my storage, then adds a symbolic link in the $HOME and triggers a background backup.
(or is it called tmpfs? this stuff has changed in the past...)