[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: moves dot files to different directory



On Fri, Jun 28, 2002 at 11:21:18AM -0500, Henning, Brian wrote:
| hello all-
| I have the task of moving all my hidden files to another directory. how can
| i select only these files and not the standard files.
| 
| ls .* doesn't seem to work.

It does (but without "-a" you won't see them), but it includes '.' and
'..' also :-) (you don't want to 'cp -r' those).


ls -ad ~/.[^.]*


(use -d to not get a recursive listing of all the directories)

-D

-- 

                          Your mouse has moved.
       You must restart Windows for your changes to take effect.
 
http://dman.ddts.net/~dman/

Attachment: pgpO_Kd1wyR4X.pgp
Description: PGP signature


Reply to: