11 lines
207 B
Bash
11 lines
207 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
# Create a archive 'gpc*.zip' with configuration files examples.
|
||
|
|
||
|
name=gpc115-`date +%Y%m%d`.zip
|
||
|
dir=cfgs
|
||
|
|
||
|
if [ -f ${name} ] ; then rm $name ; fi
|
||
|
|
||
|
find ${dir} | grep -v CVS | zip -9 -@ -X ${name}
|