Re: moves dot files to different directory
Derrick 'dman' Hudson <dman@dman.ddts.net> 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 <nelson@bignachos.com>
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: