-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathzip.functions
More file actions
10 lines (8 loc) · 845 Bytes
/
zip.functions
File metadata and controls
10 lines (8 loc) · 845 Bytes
1
2
3
4
5
6
7
8
9
10
# This file is part of shellfire compress. It is subject to the licence terms in the COPYRIGHT file found in the top-level directory of this distribution and at https://raw.githubusercontent.com/shellfire-dev/compress/master/COPYRIGHT. No part of swaddle, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the COPYRIGHT file.
# Copyright © 2014-2015 The developers of shellfire compress. See the COPYRIGHT file in the top-level directory of this distribution and at https://raw.githubusercontent.com/shellfire-dev/compress/master/COPYRIGHT.
# Strictly, zip is an archive with compression; this technique creates single-file archives, useful mostly for Windows or specialist settings.
core_dependency_requires '*' pigz
compress_zip()
{
pigz -K -11 -c -q -f -- "$1" >"$1".gz
}