Tips



Archive

rpm package is a cpio archive.

zip -r ../target.zip * - zip recrusively all the content under the current directory to the target.zip
unzip -l /path/to/a.zip - list the content of the zip file

Fails a bash script on error

set -e

comments powered by Disqus

Copyright © 2020 Kenneth Feng. All Rights Reserved