Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!wuarchive!udel!princeton!phoenix!subbarao From: subbarao@phoenix.Princeton.EDU (Kartik Subbarao) Newsgroups: comp.unix.shell Subject: Re: copying files Keywords: cp Message-ID: <4497@idunno.Princeton.EDU> Date: 5 Dec 90 13:46:17 GMT References: <1990Dec3.215656.8961@en.ecn.purdue.edu> <1990Dec5.021951.28104@en.ecn.purdue.edu> Sender: news@idunno.Princeton.EDU Lines: 32 >Here is a listing of my home directory... [listing deleted] > >ls .* all of the dot files, then all files > in my directory and the previous. This is, as someone I know would say, something else that's wrong with csh. (Right Paul? Of course any shell he'd write wouldn't have that problem :-)) The problem with a simple .* is that "." and ".." also qualify as .*'s, and as you know, they stand for your current and parent directories. >Any other suggestions? Sure - try : ls .[A-z]* This should find most of the files you want. The only problems with this are if you have directories that begin with a "." (i.e .NeXT), and files that for some reason are outside the range of A-z and that you would like to list. -Kartik (I need a new .signature -- any suggestions?) subbarao@{phoenix or gauguin}.Princeton.EDU -|Internet kartik@silvertone.Princeton.EDU (NeXT mail) -| SUBBARAO@PUCC.BITNET - Bitnet