11 lines
283 B
Bash
Executable file
11 lines
283 B
Bash
Executable file
#!/bin/bash
|
|
# Script to auto-generate the different archive types under the archives directory.
|
|
|
|
cd archives
|
|
|
|
rm archive.*
|
|
|
|
tar cf archive.tar -C reference .
|
|
gzip -fk archive.tar >archive.tar.gz
|
|
bzip2 -fk archive.tar >archive.tar.bz2
|
|
cd reference && zip ../archive.zip -r * && cd ..
|