memories/scripts/bundle.sh

22 lines
398 B
Bash
Raw Normal View History

2022-09-08 02:08:20 +00:00
#!/bin/bash
od=`pwd`
rm -rf /tmp/memories
2022-09-13 22:50:17 +00:00
mkdir -p /tmp/memories
2022-11-09 10:26:51 +00:00
cp -R appinfo l10n img js lib templates COPYING README.md transcoder.yaml exiftest* composer* /tmp/memories
2022-09-08 02:08:20 +00:00
cd /tmp
2022-09-13 23:01:09 +00:00
rm -f memories/appinfo/screencap* memories/js/*.map
2022-09-08 02:08:20 +00:00
rm -rf memories.tar.gz
2022-10-20 19:31:12 +00:00
cd memories
2022-10-20 20:47:33 +00:00
sh "$od/scripts/get-exiftool.sh"
2022-10-20 19:31:12 +00:00
cd ..
2022-09-08 02:08:20 +00:00
tar -zvcf memories.tar.gz memories/
rm -rf memories
cd $od
mv /tmp/memories.tar.gz .