l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2001 Dec 30 17:12

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] to (i think your name is) ryan at the IF: tar and dotfiles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] to (i think your name is) ryan at the IF: tar and dotfiles

i was thinking about why tar didn't find you dotfiles, and it just occured to
me.  i didn't see what you typed, but i'll be willing to bet you did
something like:

	tar jcv * > foo.tar.bz2

so you're relying on bash to hand filenames to tar.  you won't get your dot
files this way, since * doesn't glob dotfiles.  you shouldn't ever do this
anyway, because the default behavior for untarring is vomiting files all over
the pwd.   netscape does this, and i want to punch steve case in the nose
everytime i untar netscape.

if, instead, you did something like:

	tar jcv DirectoryWithDotFiles/ > foo.tar.bz2

you would've gotten your tar files.   this is because tar was written to
archive, and * was built to noglob dotfiles.

the only other possibility i can think of is that your CPU got hit by a
random cosmic ray, shifting the bits in such a way that all information about
your dotfiles got lost.


"You may not use the Software in connection with any site that disparages
Microsoft, MSN, MSNBC, Expedia, or their products or services ..."
                    -- Clause from license for FrontPage 2002

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!