Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!pasteur!euler!e118-ak From: e118-ak@euler.uucp (e118 student) Newsgroups: comp.unix.questions Subject: FTP directory listing Summary: "ls -s -C" doesn't seem to work Message-ID: <12392@pasteur.Berkeley.EDU> Date: 14 Apr 89 01:10:08 GMT Sender: news@pasteur.Berkeley.EDU Reply-To: e118-ak@euler.berkeley.edu (Linc Madison) Followup-To: e118-ak@euler.berkeley.edu (Linc Madison) Distribution: usa Organization: U.C. Berkeley Mechanical Engineering Dept. Lines: 21 I have recently been using anonymous ftp to download files from the fine folks at sumex-aim.stanford.edu, specifically the info-mac part. Everything's wonderful, but there's a lot of good stuff there. What I would *like* to do is to port across a directory listing onto my disk so I could peruse it at my leisure without running up connect time across netland. On my own machine, I would just say "ls -s -C" to get name and filesize (in K) in multi-column mode. However, when I try this on the ftp connection, sumex thinks that "-s" is the file I want listed and "-C" is the localfile in which I want to store the output. (They have a file listing the contents, but it is full of info I don't need -- date of modification, size in bytes, etc. -- and is thus several hundred K itself). Can I get the ftp machine to recognize options on the "ls" or "mls" command? If I can get it to give me size in K, is there a unix command I can use locally afterwards to intelligently multi-column it? Please e-mail any helpful tips. Thanks in advance, -- Linc Madison = e118-ak@euler.berkeley.edu