photo-helpers

Unnamed repository; edit this file 'description' to name the repository.
git clone git://code.clttr.info/photo-helpers.git
Log | Files | Refs | README | LICENSE

commit 62a55669912b5739cb573b6f9e8ac545a331dae5
parent c8ae4b77ffc5f827910c23a951de1881c7f5d4c4
Author: René Wagner <rwagner@rw-net.de>
Date:   Sat, 23 May 2020 14:48:51 +0200

~rwa/photo-workflow#16: create linux executables

Diffstat:
M.gitignore | 2++
MREADME.md | 2+-
Apackage.sh | 17+++++++++++++++++
3 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore @@ -1 +1,3 @@ +*.tgz +bin/* testdir diff --git a/README.md b/README.md @@ -1,5 +1,5 @@ # About -This rather small scripts written in [Perl](https://clltr.info/perl) provide useful function for managing (raw and output) files for photographers. +This rather small scripts written in [Perl](https://perl.org) provide useful function for managing (raw and output) files for photographers. # Prerequisites diff --git a/package.sh b/package.sh @@ -0,0 +1,17 @@ +if [ ! -d ./bin ] +then + mkdir ./bin +fi + +TAG=`date +"%Y%m%d"` +echo "creating tag $TAG" +git tag -a $TAG -m "snapshot $TAG" + +pp -z 9 -f Bleach -o bin/art_file_mover art_file_mover.pl +pp -z 9 -f Bleach -o bin/jpegdivider jpegdivider.pl +pp -z 9 -f Bleach -o bin/silkypix_multiversion_sidecar_cleaner silkypix_multiversion_sidecar_cleaner.pl +pp -z 9 -f Bleach -o bin/silkypix_orphaned_sidecar_cleaner silkypix_orphaned_sidecar_cleaner.pl + +cd ./bin +tar -czf ../$TAG.tgz * +cd ..