Guest User

Untitled

a guest
Jul 19th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #!/bin/bash
  2. # xz wrapper script for compatibility with tar.
  3. #
  4. # Wraps a data stream through xz (LZMA2) compression or
  5. # decompression (if the -d flag is set) with some customizations.
  6. #
  7. # Feel free to adjust the xz settings (currently uses -3)
  8. # depending on the system this script is deployed on.
  9.  
  10. case $1 in
  11. -d) xz -qdvc ;;
  12. '') xz -qzvc -3 ;;
  13. *) echo "Unknown option $1">&2; exit 1;;
  14. esac
Add Comment
Please, Sign In to add comment