For the past year(s) or so I've been running into situations where I have created some code snippets to help me out with my (hobby) projects, only to lose them later from .bash_history :-)
PPS. The above code was successfully tested on Debian/Ubuntu, on some other platforms (i.e. RedHat) --volno-file might start counting from... 2 (stupid!). You can always modify move.sh to use its own increment scheme (same as link.sh). Take care!