-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

* and then rpjday declared....
> > I want to cp every file and directory that starts with a '.'
> > I'm trying to backup all the rc files/dirs on my home dir and just can't
> > work it out. Any help appreciated!
> 
> the pattern that will match all hidden files/directories is
> .[!.]*, and you want to copy recursively, so you could do
> 
> $ cp -a .[!.]* <name-of-dest-dir>

Fantastic. Thanks.
Do you know where I might learn such stuff?

- -- 

Nick Wilson

Tel:    +45 3325 0688
Fax:    +45 3325 0677
Web:    www.explodingnet.com



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8XacLHpvrrTa6L5oRAlmYAKCoJJy650PQoHtCGJJ6EXFX6HAylgCfarwz
A9P5ZT9lpZtHA3zc4kbC7dA=
=bYQh
-----END PGP SIGNATURE-----



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to