That will do it.

Thanks

alister
----- Original Message -----
From: "Jeff Waugh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 7:02 PM
Subject: Re: [SLUG] if [[ -e *.TXT ]] ; then


> <quote who="Russell Davies">
>
> > ; I want to check to see if there are any files to move (otherwise I get
an
> > ; error message generated if there are none)
> > ; Then move the relevant files
> >
> > yes, I thought as much. That's pointless, just move them. If there's
> > nothing there, you won't move anything.
> >
> > $ mv *.TXT /tmp
>
> And if you don't like the error message:
>
> mv *.TXT /tmp 2> /dev/null
>
> - Jeff
>
> --
>     You know a French woman is faking it when she screams, "I would like
>                      the table near the window please!"
>
> --
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to