Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # xz wrapper script for compatibility with tar.
- #
- # Wraps a data stream through xz (LZMA2) compression or
- # decompression (if the -d flag is set) with some customizations.
- #
- # Feel free to adjust the xz settings (currently uses -3)
- # depending on the system this script is deployed on.
- case $1 in
- -d) xz -qdvc ;;
- '') xz -qzvc -3 ;;
- *) echo "Unknown option $1">&2; exit 1;;
- esac
Add Comment
Please, Sign In to add comment