本帖最后由 welcome008 于 2011-01-10 10:40 编辑 find . -name 'le.*' -mtime +1 -type f -exec gzip {} \; gzip: ./le.20110107220830.gz already has .gz suffix -- unchanged 当然,我确定在执行之前,该目录下的文件都是没有压缩的。
by welcome008 - Shell - 2011-01-10 21:24:51 阅读(6399) 回复(21)
gzip a.gz a.gz: Value too large for defined data type gzip报错,这个文件有3.5G大下,是文件大小有限制吗? os:solaris9
gzip a.gz\r\na.gz: Value too large for defined data type\r\n\r\ngzip报错,这个文件有3.5G大下,是文件大小有限制吗?\r\nos:solaris9
find . -type f -ctime +2 \( -not -name "*.gz" -a -name "*.log*" \) | xargs gzip & 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/24312/showart_497878.html
#! /bin/sh - foreach_dir () { for file in $1/* do if [ -d "$file" ]; then dir_name="$(basename $file)" if [ "${dir_name#_arm9e_}" != "$dir_name" ]; then basepath="$(dirname $file)" path_name=$(dirname $basepath) temp=${path_name#*modules/} module_name=${temp%%/*} gen_file="$basepath/$module_name.gen" if [ ...
tomcat.util.http.Parameters processParameters WARNING: Parameters: Invalid chunk ignored. May 24, 2010 8:54:42 AM org.apache.tomcat.util.http.Parameters processParameters WARNING: Parameters: Invalid chunk ignored. May 24, 2010 8:54:43 AM org.apache.tomcat.util.http.Parameters processParameters WARNING: Parameters: Invalid chunk ignored. 造成以上问题的有这么几种原因: 1、访问/test.jsp?&p1=1&p2=2...
1.void value not ignored as it ought to be 不能在表达式中使用void函数的值,让这个函数单独成一行,然后再对其进行操作. 用GCC编译出现如下错误: test9.c:17: void value not ignored as it ought to be 程序是关于流的IO操作,代码如下: ........ FILE *stream; if((stream=fopen("test","r"))==(FILE*)0) { fprintf(stderr,"error opening file.\n"); ...