in reply to Re: Testing Files and Directories
in thread Testing Files and Directories

The -X operators will only work with local files. They won't work if you want to know what kind of entry you're looking at before you download it. The OP might be stuck with parsing the output of dir as suggested above.

Replies are listed 'Best First'.
Re: Re: Re: Testing Files and Directories
by fluxion (Monk) on Apr 26, 2004 at 19:44 UTC
    whoops. yah, looks like the best method would be to parse the output of ls -l, as suggested by the first reply.

    Roses are red, violets are blue. All my base, are belong to you.

      that's a ++ vote for the signature alone. Dude!