A bashscripts that moves packages from one Synology NAS volume to another. Inspired by @Saintdle's guide
This script is in Beta and hanven't been tested on divices. Use at your own risk. Feel free to improve the script and submit a push request.
sudo -i
to change user to rootwget
the raw file to a safe location, usually root user home.sh
file or the .x
binary as executable by chmod +x migrate.sh
or chmod +x migrate.sh.x
/
cd
into the Target volume @appstore
, aka. the volume you want to delete by running cd /volume<target volume #>/\@appstore
~/migrate.sh -f <Target Volume> -t <Destination Volume>
, -a
optional for automatic migrate without promptOption | Description |
---|---|
-f |
Target(from) volume, should be in the form of volumeX e.g. volume1 |
-t |
Destination(to) volume, should be in the form of volumeX e.g. volume2 |
-h |
Show Help |
-a |
If specified, will migrate all packages in current directory without prompts (Warning: Be careful! Always check packages) |