diff options
-rw-r--r-- | .functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,7 +28,7 @@ function cdf() { # short for `cdfinder` # Create a .tar.gz archive, using `zopfli`, `pigz` or `gzip` for compression function targz() { - local tmpFile="${@}.tar" + local tmpFile="${@%/}.tar" tar -cvf "${tmpFile}" --exclude=".DS_Store" "${@}" || return 1 size=$( |