Derrick 'dman' Hudson <[EMAIL PROTECTED]> writes:

> 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 ~/.[^.]*

>From man ls,

       -A, --almost-all
              do not list implied . and ..

-- 
Brian Nelson <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to