Click to See Complete Forum and Search --> : Wierd TAR


HTTP-404
06-12-2001, 11:47 PM
Hello

Just few days i downloaded Mandrake 8
As soon as a tweaked few files i wanted to backup my /etc folder

so i used regeular tool - tar

typing this, from root folder

#tar -c /etc

i saw a text files displaying in my console and scorolling down really fast, but after typing

#ls -l

i didn't see any files with tar extention in my /root folder

That's it


Thank You Very much in advance.
Have a nice day.

Strike
06-13-2001, 12:46 AM
try tar cvfz <file-to-be-created> /etc

Craig McPherson
06-13-2001, 01:07 AM
If you don't use the "f" option, tar dumps to standard output instead of writting to a file, which is generally not something you want.

WRT the previous post, you should only use the "z" option if you want the tarfile to be gzip-compressed after creation. You can also use "j" for bzip compression, or use neither for a regular uncompressed tarball.

The "v" is for "verbose" which causes tar to show what it's doing.