hooks/7z.sh (view raw)
1 2 3 4 5 6
#!/bin/sh mkdir tmp 7z x "$1" -otmp rsync -avz tmp/* jade:/mnt/music rm -rf tmp