usage:
Supports all synoarchive types.
Run it on your own nas, with root privilege.
On x86 linux, the required libraries are located in /usr/lib:
libcrypto.so.1.1
libicudata.so.64
libicui18n.so.64
libicuuc.so.64
libmsgpackc.so.2
libsodium.so
libsynocodesign.so
libsynocore.so.7
libsynocredentials.so.7
libsynocrypto.so.7
In Windows WSL Ubuntu I needed the following files:
libicudata.so.64
libicui18n.so.64
libicuuc.so.64
libmsgpackc.so.2
libsodium.so
libsynocodesign.so
libsynocore.so.7
libsynocrypto.so.7
libtss2-esys.so.0
libtss2-mu.so.0
libtss2-rc.so.0
libtss2-sys.so.1
Instead of copying and renaming files I could have, and should have, created symlinks.
You can run syno_archive_extractor.sh in 2 ways:
- Via SSH as root or sudo
- In task scheduler as a user defined script run by root.
Edit the 3 variables near the top of the script to suit your folder locations:
# Location of the folder containing the files to extract
inpath="/volume1/temp/in"
# Location of the folder extract to
outpath="/volume1/temp/out"
# Location of the sae.py script
pyscript="/volume1/scripts/sae/sae.py"
Now whenever you want to extract Synology DSM 7 files place the files to be extracted in the in folder
Run the syno_archive_extractor.sh bash script
The extracted files will be in their own folder in the out folder
Extracted BeeStation pat file
Extracted DSM 7.2.2 small update pat file
Extracted Synology drive database update
Extracted Synology package