OT (ish): How to copy hidden files/directories
Nifty Hat Mitch
mitch48 at sbcglobal.net
Tue Oct 12 16:34:47 UTC 2004
On Mon, Oct 11, 2004 at 02:58:16PM -0700, Rick Stevens wrote:
> Angela Kahealani wrote:
> >On Monday 2004-10-11 06:43, Don Buchholz wrote:
> >
> >>Well, in ~15 years of *nix, I've never had a problem with ".??*",
> >>so your post got me thinking a little harder about corner cases. ;-)
....
> Unless you've been rootkitted, where the bad guys purposely try to
> obscure the hacked files.
Or good guys.
At one time I made a point of keeping a set of stuff
down in a dir called $HOME/...
Since I moved stuff rcp/scp -r from a higher dir the recursion
did the right things. I also moved things with a script
that effectively cloned my environment and was a list of
all the dot files worth pulling along.
My historic regx for standard dot files has been ".[a-zA-Z0-9]*"
This does fall on it's face with a dir or file with
this cruft...
!@#$%^&*()_+=-';:"></?\|
in the name.
Today it common to see almost any durn thing in a file name as those
of us that glance at virus attachments this type of name is way too
common:
good.txt .exe
--
T o m M i t c h e l l
May your cup runneth over with goodness and mercy
and may your buffers never overflow.
More information about the users
mailing list