tar.gz extract

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
User avatar
jyhm
Forum Contributor
Posts: 228
Joined: Tue Dec 19, 2006 10:08 pm
Location: Connecticut, USA
Contact:

tar.gz extract

Post by jyhm »

I post to Linux 'cause it's the closest thing to Unix command line in General.

I made a tar back up of a 'Previous System Folder' that I wanted to save when I did an 'archive and install' on my Mac OS 10.4.8.

Upon decompress to check if it compressed all my files, Time Remaining: is about 45,000 hrs and counting. Wow, did I do something wrong?

EDIT: Wow, 48,000 hrs and counting to decompress! This is INSANE dude! 8O
EDIT: 55,000 hrs and counting.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

That must be a big file.. :D
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Post by jayshields »

Bah, that's only 6.2743754 years. I'd say go for it. Put it in the garage or something.
User avatar
jyhm
Forum Contributor
Posts: 228
Joined: Tue Dec 19, 2006 10:08 pm
Location: Connecticut, USA
Contact:

Post by jyhm »

Wow dudes! Its up to 140,000 hrs and counting! I'm gonna go for it, till my system crashes. I gotta watch the Patriots game!!!!!!!!!!


EDIT: YEAH! Patriots! They advance to the conference championship game! Wah Hoooooo!
EDIT: Mmmmm, :? 156,000 hrs and counting, most curious!
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

There will be a symlink in there for ".", which will trigger recursion.
User avatar
jyhm
Forum Contributor
Posts: 228
Joined: Tue Dec 19, 2006 10:08 pm
Location: Connecticut, USA
Contact:

Post by jyhm »

Miraculous folks it stopped! Stuffit Expander must have went crazy with the calculate time function during this extraction! Jenk please explain more if you will.
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

Code: Select all

ln -s . mysymlink
will create a symlink named mysymlink to the current directory.

so for unintelligent recursion, that is a never ending path.

Code: Select all

john@localhost / $ cd /dir
john@localhost /dir $ ls
john@localhost /dir $ sudo ln -s . dir
john@localhost /dir $ ls -l
total 0
lrwxrwxrwx 1 root root 1 Jan 15 03:44 dir -> .
john@localhost /dir $ cd dir
john@localhost /dir/dir $ cd dir
john@localhost /dir/dir/dir $ cd dir
john@localhost /dir/dir/dir/dir $ cd dir
john@localhost /dir/dir/dir/dir/dir $ cd dir
john@localhost /dir/dir/dir/dir/dir/dir $ etc...
User avatar
jyhm
Forum Contributor
Posts: 228
Joined: Tue Dec 19, 2006 10:08 pm
Location: Connecticut, USA
Contact:

Post by jyhm »

OK thank you for your input Jenk.
Post Reply