This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Encoding=UTF-8 | |
Version=1.0 | |
Name=Postman | |
Comment=Postman Native App | |
Exec=/opt/Postman/Postman — %u | |
Icon=/opt/Postman/app/resources/app/assets/icon.png | |
Terminal=false | |
Type=Application | |
Categories=Network;Development |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
BLOG_DIR="/var/www/html/blog/" | |
OUT_DIR="/home/pi/temp/" | |
PREFIX="wp_" | |
TS=$(date +"%Y-%m-%d"); | |
# zip the whole blog directory | |
echo "compressing $BLOG_DIR directory" | |
zip -q -r "$OUT_DIR$PREFIX$TS.zip" "$BLOG_DIR" |