Skip to content

Instantly share code, notes, and snippets.

@tinjaw
tinjaw / move_packages.sh
Last active June 23, 2019 19:17 — forked from fredrike/move_packages.sh
Synology move packages to another volume
#!/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"