Collection of various shell scripts for SmartVersion.
Note: SmartVersion currently only supports x86_64 and i386 processors (at least for Linux).
sudo apt install git unzip
git clone https://github.com/luzeagithub/smartversion-shell-scripts.git
cd smartversion-shell-scripts
sudo ./install-smartversion
sudo yum install git unzip
git clone https://github.com/luzeagithub/smartversion-shell-scripts.git
cd smartversion-shell-scripts
sudo ./install-smartversion
sudo pacman -S git unzip
git clone https://github.com/luzeagithub/smartversion-shell-scripts.git
cd smartversion-shell-scripts
sudo ./install-smartversion
sudo zypper install git unzip
git clone https://github.com/luzeagithub/smartversion-shell-scripts.git
cd smartversion-shell-scripts
sudo ./install-smartversion
The installation does not mean that the scripts can be called from every folder, because only the SmartVersion executable is installed. You have to copy whatever script you need into the current folder to use it.
Verify the installation by typing smv
in the console. If the output is similar to smv: command not found
, check the console for errors.
Run the steps from Install SmartVersion again.
sudo ./uninstall-smartversion
Keep in mind that the scripts are only working with the SmartVersion executable being installed.
Click one of the following links to learn more about the script's usage:
This script extracts the patch
.
usage: ./extract patch
example:
$ ./extract en_windows_xp_professional_with_service_pack_3_x86_cd_x14-80428_to_de_windows_xp_professional_with_service_pack_3_x86_cd_x14-80444.svf
Smartversion 3.8 (c) 2002-2020 G. Vollant - http://www.smartversion.com/ - 64 bits
extracting : de_windows_xp_professional_with_service_pack_3_x86_cd_x14-80444.iso Done
success: Successfully extracted SmartVersion patch.
This script extracts all patches in the current folder.
usage: ./extract-all
example:
$ ./extract-all
Smartversion 3.8 (c) 2002-2020 G. Vollant - http://www.smartversion.com/ - 64 bits
extracting : de_windows_xp_professional_with_service_pack_3_x86_cd_x14-80444.iso Done
success: Successfully extracted 1 SmartVersion patches.
This script installs the SmartVersion executable to /usr/local/bin/smv
.
usage: sudo ./install-smartversion
example:
$ sudo ./install-smartversion
--2020-12-23 13:27:39-- https://www.smartversion.com/smartvs38_linux_x64.zip
Resolving www.smartversion.com (www.smartversion.com)... 144.217.225.1
Connecting to www.smartversion.com (www.smartversion.com)|144.217.225.1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 893095 (872K) [application/zip]
Saving to: ‘smartvs38_linux_x64.zip’
smartvs38_linux_x64 100%[===================>] 872,16K 1,36MB/s in 0,6s
2020-12-23 13:27:40 (1,36 MB/s) - ‘smartvs38_linux_x64.zip’ saved [893095/893095]
Archive: smartvs38_linux_x64.zip
inflating: smv
success: Successfully installed SmartVersion executable to /usr/local/bin/smv.
This script creates a patch from source-file
to target-file
.
usage: ./patch source-file target-file
example:
$ ./patch en_windows_xp_professional_with_service_pack_3_x86_cd_x14-80428.iso de_windows_xp_professional_with_service_pack_3_x86_cd_x14-80444.iso
Smartversion 3.8 (c) 2002-2020 G. Vollant - http://www.smartversion.com/ - 64 bits
Creating SmartVersion file en_windows_xp_professional_with_service_pack_3_x86_cd_x14-80428_to_de_windows_xp_professional_with_service_pack_3_x86_cd_x14-80444.svf with patch from en_windows_xp_professional_with_service_pack_3_x86_cd_x14-80428.iso to de_windows_xp_professional_with_service_pack_3_x86_cd_x14-80444.iso
success: Successfully patched files.
This script creates patches from source-file
to all files in the folder with the same extension excluding the source-file
.
usage: ./patch-all source-file
example:
$ ./patch-all en_windows_xp_professional_with_service_pack_3_x86_cd_x14-80428.iso
Smartversion 3.8 (c) 2002-2020 G. Vollant - http://www.smartversion.com/ - 64 bits
Creating SmartVersion file en_windows_xp_professional_with_service_pack_3_x86_cd_x14-80428_to_de_windows_xp_professional_with_service_pack_3_x86_cd_x14-80444.svf with patch from en_windows_xp_professional_with_service_pack_3_x86_cd_x14-80428.iso to de_windows_xp_professional_with_service_pack_3_x86_cd_x14-80444.iso
success: Successfully patched 1 files.
This script uninstalls the SmartVersion executable from /usr/local/bin/smv
.
usage: sudo ./uninstall-smartversion
example:
$ sudo ./uninstall-smartversion
success: Successfully uninstalled SmartVersion executable from /usr/local/bin/smv.
Yes, please. Fork this repository and start working. After you are done with it, submit a pull request and I will review your changes.
- Gilles Vollant, SmartVersion
This project is licensed under the MIT License.