This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# this script moves ALL packages from volume-x to volume-y | |
# For Synology DSM - tested with DSM6.1 | |
if [ $# -lt 2 ]; then | |
echo "usage: $0 <from_vol> <to_vol>" | |
exit -1 | |
fi | |
from_vol="$1" |