22 lines
413 B
Bash
Executable File
22 lines
413 B
Bash
Executable File
#!/bin/bash
|
|
|
|
od=`pwd`
|
|
|
|
rm -rf /tmp/memories
|
|
mkdir -p /tmp/memories
|
|
cp -R appinfo l10n img js lib templates COPYING README.md CHANGELOG.md exiftest* composer* /tmp/memories
|
|
|
|
cd /tmp
|
|
rm -f memories/appinfo/screencap* memories/js/*.map
|
|
rm -rf memories.tar.gz
|
|
|
|
cd memories
|
|
sh "$od/scripts/get-exiftool.sh"
|
|
cd ..
|
|
|
|
tar --no-same-owner -p -zcf memories.tar.gz memories/
|
|
rm -rf memories
|
|
|
|
cd $od
|
|
mv /tmp/memories.tar.gz .
|