Re: [Shell] help with Tarring files
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45322
interpreted = N
texte = Joshua Lynn wrote:> the same level as checkout). The tar gets made in the correct location,> but is created with the following folder structure: a folder called> .. with a folder called outgoing inside it. inside that is where the> tarred files are.Because that is exactly what you told it to do. Tar pays attention to the path that you pass in, figuring that it is significant information.> [shell]tar -cf - ../outgoing/[header21]|gzip>> ../outgoing/[header21].tar.gz[/shell]Try this instead:[shell]tar -C ../outgoing -cf - [header21] | gzip > [header21].tar.gz[/shell]or some such. You should also check to see if your tar command supports gzip internally, which would simplify the command considerably:[shell]tar -C ../outgoing -zcf [header21].tar.gz [header21][/shell]HTHJohn-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Joshua Lynn wrote:> the same level as checkout). The tar gets made in the correct location,> but is created with the following folder structure: a folder called> .. with a folder called outgoing inside it. inside that is where the> tarred files are.Because that is exactly what you told it to do. Tar pays attention to the path that you pass in, figuring that it is significant information.> [shell]tar -cf - ../outgoing/[header21]|gzip>> ../outgoing/[header21].tar.gz[/shell]Try this instead:[shell]tar -C ../outgoing -cf - [header21] | gzip > [header21].tar.gz[/shell]or some such. You should also check to see if your tar command supports gzip internally, which would simplify the command considerably:[shell]tar -C ../outgoing -zcf [header21].tar.gz [header21][/shell]HTHJohn-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
John Peacock
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
NetSplat and WebCat2 (1997)
WebCatalog 4.0.1 has been released! (2000)
Referrer field to header field conversion (1997)
WebCat2b12plugin - [search] is broken ... not! (1997)
Associative lookup style? + bit more (1997)
[table] (was Feature req.) (2002)
duplicate cart numbers (2002)
Displaying xx number of characters (1997)
long list formatted in a table (2004)
RE: protect tag on NT (1997)
searching for a variable range with in a found set (2002)
Shipping still a problem!! (1998)
Country & Ship-to address & other fields ? (1997)
RE: Languages (1997)
PCS Customer submissions ? (1997)
tcp connect includes (1999)
select multiple (1997)
Webcatalog error, Plug-in for Webstar (1996)
How to verify email address (1997)
writing db to disk (1997)