Click to See Complete Forum and Search --> : A little help w/ tar please
Okay, apparently I'm an imbecile and I can't remember how to create a tar archive properly. I've got a directory "VSP" with a bunch of files in it, and I want to tar that directory up into an archive.
when I run tar cvf VSP I get "tar: Missing filenames". The manpage says that the f makes the output file equal to filename.tar, any help as to what I'm doing wrong here?
never mind tar cvf VSP.tar VSP worked.
Strike
11-13-2000, 02:56 PM
I think tar cv VSP would have worked as well. f signifies "use this filename".
toolie
11-13-2000, 05:23 PM
Strike: tar cv VSP would just archive the directory to a tape drive (at least on traditional Unixes). Tar automagically assumes that you mean to tape archive (what tar stands for) unless you specify a filename.
Strike
11-13-2000, 06:04 PM
toolie - thanks. That's an interesting little bit o' trivia that I didn't know. Of course, I'm still trying to figure out what the differences are between the two versions of tar I've seen where one uses I for extracting bz2 and the other uses y... http://www.linuxnewbie.org/ubb/smile.gif