Greetings;
I made a movie out of a machining operation which put nearly 18GB in .avi
files in my /usr/movies DLE.
So this mornings report for the 2nd time, notes its too big, and only wrote
a PARTIAL, then ran out of space, and I had added another 20GB to the size
of the vtape yesterday. I'll
On Monday 19 October 2009, Dustin J. Mitchell wrote:
On Mon, Oct 19, 2009 at 8:05 AM, Gene Heskett gene.hesk...@verizon.net
wrote:
if [`/bin/ls /dumps`]; then line 173
This can be a bit tricky in portable shell, but maybe this is closer
to what you want:
if [ `/bin/ls /dumps` !=
On 2009-10-19 16:34, Gene Heskett wrote:
On Monday 19 October 2009, Dustin J. Mitchell wrote:
On Mon, Oct 19, 2009 at 8:05 AM, Gene Heskett gene.hesk...@verizon.net
wrote:
if [`/bin/ls /dumps`]; then line 173
This can be a bit tricky in portable shell, but maybe this is closer
On Mon, Oct 19, 2009 at 10:34 AM, Gene Heskett gene.hesk...@verizon.net wrote:
I'll try that, but IIRC if the dir is empty, ls still returns a linefeed.
brb.
Nope, tried with !='' and !='\n', with almost the same result, the diff being
that now the error message on the console is minus the
On Monday 19 October 2009, Paul Bijnens wrote:
On 2009-10-19 16:34, Gene Heskett wrote:
On Monday 19 October 2009, Dustin J. Mitchell wrote:
On Mon, Oct 19, 2009 at 8:05 AM, Gene Heskett gene.hesk...@verizon.net
wrote:
if [`/bin/ls /dumps`]; then line 173
This can be a bit
On Mon, Oct 19, 2009 at 8:05 AM, Gene Heskett gene.hesk...@verizon.net wrote:
if [`/bin/ls /dumps`]; then line 173
This can be a bit tricky in portable shell, but maybe this is closer
to what you want:
if [ `/bin/ls /dumps` != '' ]
Dustin
--
Open Source Storage Engineer
On Monday 19 October 2009, Dustin J. Mitchell wrote:
On Mon, Oct 19, 2009 at 10:34 AM, Gene Heskett gene.hesk...@verizon.net
wrote:
I'll try that, but IIRC if the dir is empty, ls still returns a linefeed.
brb.
Nope, tried with !='' and !='\n', with almost the same result, the diff
being that
On Mon, Oct 19, 2009 at 10:57:16 -0400, Dustin J. Mitchell wrote:
The whitespace is significant in the command I showed:
if [ `/bin/ls /dumps` != ]
btw, the shell strips leading and trailing whitespace, so don't worry
about the newline.
However, if /dumps is empty, the above will return