Gossamer Forum
Home : General : Internet Technologies :

GNU Tar homepage?

Quote Reply
GNU Tar homepage?
I've been searching for about an hour now.. and no matter how hard I look, I can find the official tar homepage. Anyone got any pointers? I'm trying to have a play with the --exclude option (want to exclude files in the /backup/ folder) ... but I'm not sure if it supports folders.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] GNU Tar homepage? In reply to
Welp, figured out the folder excluding option now.

tar -cvvf admin.tar ../admin --exclude=backup

Still would be interesting to know where the official homepage of Tar is Smile

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] GNU Tar homepage? In reply to
Hey Andy, is this what you are looking for?

Home Page: http://www.gnu.org/software/tar/tar.html
Official Manual: http://www.gnu.org/manual/tar/index.html

Quote:
--exclude=pattern
When performing operations, tar will skip files that match pattern. @FIXME-xref{}.
--exclude-from=file
-X file
Similar to `--exclude', except tar will use the list of patterns in the file file. @FIXME-xref{}.


~Charlie
Quote Reply
Re: [Chaz] GNU Tar homepage? In reply to
Ah..thanks for the link. Managed to work out the --exclude option anyway.

If you do a search on Google for "official GNU tar homepage" , it gives loads of links.. but I couldn't find that link Frown I'll have to bookmark that one. Ended up making do with the man pages Tongue

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] GNU Tar homepage? In reply to
Try searching for GNU Tar. It comes up as the first link :) I had to go back and re-read your question a couple of times. I couldn't figure out how you didn't spot that. I thought maybe I was missing something.

~Charlie
Quote Reply
Re: [Chaz] GNU Tar homepage? In reply to
Whoops Blush

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Chaz] GNU Tar homepage? In reply to
Mmmm...any ideas how to make folders with no data in them, actually get put into the .tar file? It seems that folders with no data/files in them, simply don't get put into the tar file?

I've had quite a good look over the TAR homepage/manual, but can't see anything :(

TIA

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] GNU Tar homepage? In reply to
Anyone?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] GNU Tar homepage? In reply to
Empty folders are put into tar's (at least with the version I'm using):

[alex@penguin alex]$ mkdir foo
[alex@penguin alex]$ tar czvf test.tar.gz foo
foo/
[alex@penguin alex]$ tar tzvf test.tar.gz
drwxr-xr-x alex/cvs 0 2003-09-29 11:42:01 foo/
[alex@penguin alex]$

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] GNU Tar homepage? In reply to
Mmm...maybe its just when windows extracts them locally, it doesn't create them?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!