[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re[2]: [cobalt-users] root partition is at 93%
- Subject: Re: Re[2]: [cobalt-users] root partition is at 93%
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Tue Nov 26 13:25:01 2002
- Organization: Befriend Internet Services LLC
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
<rdkurth@xxxxxxxxxxxx> wrote:
> SW> find / -size +"${SIZE_BYTES}c" -type f -exec ls -l '{}' ';' | sort
+4 -nr >
> SW> $LOG_FILE_DIR/large_files-$DATE_TODAY
>
> SW> chown -R admin:admin $LOG_FILE_DIR
>
>
> I keep getting this error message when I try to use the script
>
> syntax error near unexpected token `>'
> ./test:line 11: `find / -size +"${SIZE_BYTES}c" -type f -exec ls -l '{}'
';' | sort +4 -nr > '
The lines that follow may appear as two lines in this email due to wrapping.
find / -size +"${SIZE_BYTES}c" -type f -exec ls -l '{}' ';' | sort +4 -nr >
$LOG_FILE_DIR/large_files-$DATE_TODAY
Within the script have the above as a single line.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/