[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] tar



"Linux Host" <linuxhost1@xxxxxxxxxxx> writes:

> tar cvfpz web/* web.tar
> it starts tarring and then at the end comes up with this
> tar: Cannot add file /vol/hd2/sites/site12/web.tar: No such file or
> directory
> tar: Error exit delayed from previous errors

You entered the command wrong. Try this instead:

tar cvfpz web.tar.gz web/*

(i.e. it's a different order)

> tar cvfpz web/* <web or nothing here> it will complete it without errors

Yes, but you would also have succeded in smashing the first file that
the * matches.


-- 
Jens Kristian Søgaard, Mermaid Consulting I/S,
jens@xxxxxxxxxxxxxxxxxxxx,
http://www.mermaidconsulting.com/