4 lines
105 B
Bash
Executable File
4 lines
105 B
Bash
Executable File
#!/usr/bin/env bash
|
|
source=${1%/}; # cut off trailing "/"
|
|
tar cfv $source.tar $source && xz $source.tar;
|