fi
}
-imagex()
+wimlib_imagex()
{
- echo "imagex $@"
- if [[ $1 == info || $1 == mountrw ]]; then
- ../../wimlib-imagex "$@"
- else
- ../../wimlib-imagex "$@" > /dev/null
- fi
+ ../../wimlib-imagex "$@"
}
-imagex_raw()
+wimappend()
{
- ../../wimlib-imagex "$@"
+ wimlib_imagex append "$@" > /dev/null
+}
+
+wimapply()
+{
+ wimlib_imagex apply "$@" > /dev/null
+}
+
+wimcapture()
+{
+ wimlib_imagex capture "$@" > /dev/null
+}
+
+wimdelete()
+{
+ wimlib_imagex delete "$@" > /dev/null
+}
+
+wimdir()
+{
+ wimlib_imagex dir "$@"
+}
+
+wimexport()
+{
+ wimlib_imagex export "$@" > /dev/null
+}
+
+wimextract()
+{
+ wimlib_imagex extract "$@" > /dev/null
+}
+
+wiminfo()
+{
+ wimlib_imagex info "$@"
+}
+
+wimjoin()
+{
+ wimlib_imagex join "$@" > /dev/null
+}
+
+wimmount()
+{
+ wimlib_imagex mount "$@" > /dev/null
+}
+
+wimmountrw()
+{
+ wimlib_imagex mountrw "$@" > /dev/null
+}
+
+wimoptimize()
+{
+ wimlib_imagex optimize "$@" > /dev/null
+}
+
+wimsplit()
+{
+ wimlib_imagex split "$@" > /dev/null
+}
+
+wimunmount()
+{
+ wimlib_imagex unmount "$@" > /dev/null
+}
+
+wimupdate()
+{
+ wimlib_imagex update "$@" > /dev/null
+}
+
+wimverify()
+{
+ wimlib_imagex verify "$@" > /dev/null
}
wim_ctype()
{
- imagex info $1 | grep Compression | awk '{print $2}'
+ wiminfo $1 | grep Compression | awk '{print $2}'
}
default_cleanup()