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
#!/bin/sh | |
CONFIG_FILE="/etc/httpd/conf/httpd.conf" | |
DATE=`date '+%Y%m%d'` | |
if [ -f "${CONFIG_FILE}.orig.${DATE}" ]; then | |
echo '(maybe)apache config file is already converted. :-P' | |
exit | |
fi |
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
File: | |
CentOS 5.7 i386 20GB (gzipped -> 649MB) | |
use File::Copy; | |
copy($baseImageFileName, $imageFileName); | |
real 6m34.418s | |
user 0m0.394s | |
sys 0m47.059s |
NewerOlder