On Fri, Jun 28, 2002 at 07:56:16PM -0400, Brian Nelson wrote: | 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 ..
Sure, but if you're trying to test your globbing before running 'cp -ar', it isn't helpful :-). Of course, 'echo' could also be used to test the globbing. :-). -D -- A perverse man stirs up dissension, and a gossip separates close friends. Proverbs 16:28 http://dman.ddts.net/~dman/
pgpDzPCNFpAgm.pgp
Description: PGP signature