This file contains hidden or 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
Credit: Shaun Thomas | |
via: http://www.postgresql.org/message-id/[email protected] | |
Two Necessary Kernel Tweaks for Linux Systems | |
From: Shaun Thomas <sthomas(at)optionshouse(dot)com> | |
To: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org> | |
Subject: Two Necessary Kernel Tweaks for Linux Systems | |
Date: 2013-01-02 21:46:25 | |
Message-ID: [email protected] (view raw or flat) |
This file contains hidden or 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
#!/bin/bash | |
# Extracts all zipfiles in subdirectories to current directory. | |
for source in $(find . -name "*.zip") | |
do | |
unzip -tq $source | |
retval=$? | |
if [ $retval -eq 0 ] | |
then |