Page 1 of 1

tar.gz extract

Posted: Sun Jan 14, 2007 4:59 pm
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.

Posted: Sun Jan 14, 2007 5:45 pm
by feyd
That must be a big file.. :D

Posted: Sun Jan 14, 2007 6:49 pm
by jayshields
Bah, that's only 6.2743754 years. I'd say go for it. Put it in the garage or something.

Posted: Sun Jan 14, 2007 7:04 pm
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!

Posted: Sun Jan 14, 2007 7:53 pm
by Jenk
There will be a symlink in there for ".", which will trigger recursion.

Posted: Sun Jan 14, 2007 8:21 pm
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.

Posted: Sun Jan 14, 2007 9:45 pm
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...

Posted: Mon Jan 15, 2007 4:04 pm
by jyhm
OK thank you for your input Jenk.