memories/scripts/bundle.sh

22 lines
413 B
Bash
Raw Permalink 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
cp -R appinfo l10n img js lib templates COPYING README.md CHANGELOG.md 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-11-14 15:44:57 +00:00
tar --no-same-owner -p -zcf memories.tar.gz memories/
2022-09-08 02:08:20 +00:00
rm -rf memories
cd $od
mv /tmp/memories.tar.gz .