Re: Archive (Zip, Sit, Tgz)

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59026
interpreted = N
texte = [SHELL]tar cfz myarchive_test.tar data_set[/SHELL] [SHELL]gzip myarchive_test2.tar[/SHELL] Tis adds another level of functionality - the TAR does not compress,=20 but the GZIP utility compresses it after creating the archive. On Aug 10, 2004, at 8:00 AM, Larry Hewitt wrote: > I tried this - very nice code piece. I just confronted an issue with=20= > our election system archiving that his will be helpful with. > > Thanks. > > Larry > > > On Aug 10, 2004, at 1:26 AM, Christer Olsson wrote: > >> There's probably lots of ways to solve your problem, but I suspect a=20= >> [SHELL] context is the fastest. >> >> [SHELL]tar cfz myarchive.tar myFolderToArchive[/SHELL] >> >> should stuff the folder "myFolderToArchive" into a gzipped tar=20 >> archive "myarchive.tar". >> >>> Thank you for this information, I had a look at the terminal, but I=20= >>> realy >>> not use to this MacOs/Unix language... >>> >>> Is there no other way??? >>> >>> Le 9/08/04 13:28, =AB=A0Christer Olsson=A0=BB = a=20 >>> =E9crit=A0: >>> >>>>> Hi, >>>>> >>>>> I'm trying to create archives from folders which are on my server. >>>>> I need to do that to move folders from place to place. >>>>> >>>>> The Server is a G4 with OSX 10.3 >>>>> >>>>> I'm trying with the following code : >>>>> >>>>> >>>>> [text]string_1=3D[Middle=20 >>>>> StartAfter=3D:Volumes:&EndBefore=3DStuff.tpl][Grep >>>>> search=3D/&replace=3D:][THISFILE][/Grep][/Middle][/text] >>>>> >>>>> [AppleScript] >>>>> tell application "DropTar" >>>>> =A0 =A0activate >>>>> =A0 =A0make new archive with properties {location:[file] = [string_1]}=20 >>>>> with >>>>> format Bzip >>>>> end tell >>>>> [/AppleScript] >>>>> >>>>> I sure I can also create them using the OsX "creating an archive"=20= >>>>> include in >>>>> the system, but I don't have a clue on how to do it!!! >>>> >>>> Check out the command "tar" in the terminal and use a [SHELL]=20 >>>> context instead. >> -- >> >> ************************************************************* >> Christer Olsson PO Box 9160 Phone +46 40 25 85 85 >> Ljusa Id=E9er AB SE-200 39 Malmo Fax +46 40 25 85 89 >> Kantyxegatan 5 Sweden http://www.ljusaideer.se >> >> ------------------------------------------------------------- >> 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=20 >> >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> > > > > Larry Hewitt360.807.1100 = OFFICE > HCO, LLC= 360.807.1103 FAX > 109 No. Tower360.880.4855 = CELL > P.O. Box 1017= larryh@hewittco.com > Centralia, WA 98531www.votewashington.org > www.hewittco.com > > > ------------------------------------------------------------- > 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=20 > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > Larry Hewitt360.807.1100 = OFFICE HCO, LLC= 360.807.1103 FAX 109 No. Tower360.880.4855 = CELL P.O. Box 1017= larryh@hewittco.com Centralia, WA 98531www.votewashington.org www.hewittco.com ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Archive (Zip, Sit, Tgz) ( "Nitai @ ComputerOil" 2004)
  2. Re: Archive (Zip, Sit, Tgz) ( Christer Olsson 2004)
  3. Re: Archive (Zip, Sit, Tgz) ( "Nitai @ ComputerOil" 2004)
  4. Re: Archive (Zip, Sit, Tgz) ( Lawrence_webcat 2004)
  5. Re: Archive (Zip, Sit, Tgz) ( devaulw@onebox.com 2004)
  6. Re: Archive (Zip, Sit, Tgz) ( Christer Olsson 2004)
  7. Re: Archive (Zip, Sit, Tgz) ( Larry Hewitt 2004)
  8. Re: Archive (Zip, Sit, Tgz) ( Larry Hewitt 2004)
  9. Re: Archive (Zip, Sit, Tgz) ( Christer Olsson 2004)
  10. Re: Archive (Zip, Sit, Tgz) ( Lawrence_webcat 2004)
  11. Re: Archive (Zip, Sit, Tgz) ( Christer Olsson 2004)
  12. Archive (Zip, Sit, Tgz) ( Webcat 2004)
[shell]tar cfz myarchive_test.tar data_set[/SHELL] [shell]gzip myarchive_test2.tar[/SHELL] Tis adds another level of functionality - the TAR does not compress,=20 but the GZIP utility compresses it after creating the archive. On Aug 10, 2004, at 8:00 AM, Larry Hewitt wrote: > I tried this - very nice code piece. I just confronted an issue with=20= > our election system archiving that his will be helpful with. > > Thanks. > > Larry > > > On Aug 10, 2004, at 1:26 AM, Christer Olsson wrote: > >> There's probably lots of ways to solve your problem, but I suspect a=20= >> [shell] context is the fastest. >> >> [shell]tar cfz myarchive.tar myFolderToArchive[/SHELL] >> >> should stuff the folder "myFolderToArchive" into a gzipped tar=20 >> archive "myarchive.tar". >> >>> Thank you for this information, I had a look at the terminal, but I=20= >>> realy >>> not use to this MacOs/Unix language... >>> >>> Is there no other way??? >>> >>> Le 9/08/04 13:28, =AB=A0Christer Olsson=A0=BB = a=20 >>> =E9crit=A0: >>> >>>>> Hi, >>>>> >>>>> I'm trying to create archives from folders which are on my server. >>>>> I need to do that to move folders from place to place. >>>>> >>>>> The Server is a G4 with OSX 10.3 >>>>> >>>>> I'm trying with the following code : >>>>> >>>>> >>>>> [text]string_1=3D[Middle=20 >>>>> StartAfter=3D:Volumes:&EndBefore=3DStuff.tpl][Grep >>>>> search=3D/&replace=3D:][THISFILE][/Grep][/Middle][/text] >>>>> >>>>> [AppleScript] >>>>> tell application "DropTar" >>>>> =A0 =A0activate >>>>> =A0 =A0make new archive with properties {location:[file] = [string_1]}=20 >>>>> with >>>>> format Bzip >>>>> end tell >>>>> [/AppleScript] >>>>> >>>>> I sure I can also create them using the OsX "creating an archive"=20= >>>>> include in >>>>> the system, but I don't have a clue on how to do it!!! >>>> >>>> Check out the command "tar" in the terminal and use a [shell]=20 >>>> context instead. >> -- >> >> ************************************************************* >> Christer Olsson PO Box 9160 Phone +46 40 25 85 85 >> Ljusa Id=E9er AB SE-200 39 Malmo Fax +46 40 25 85 89 >> Kantyxegatan 5 Sweden http://www.ljusaideer.se >> >> ------------------------------------------------------------- >> 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=20 >> >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> > > > > Larry Hewitt360.807.1100 = OFFICE > HCO, LLC= 360.807.1103 FAX > 109 No. Tower360.880.4855 = CELL > P.O. Box 1017= larryh@hewittco.com > Centralia, WA 98531www.votewashington.org > www.hewittco.com > > > ------------------------------------------------------------- > 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=20 > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > Larry Hewitt360.807.1100 = OFFICE HCO, LLC= 360.807.1103 FAX 109 No. Tower360.880.4855 = CELL P.O. Box 1017= larryh@hewittco.com Centralia, WA 98531www.votewashington.org www.hewittco.com ------------------------------------------------------------- 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://webdna.smithmicro.com/ Larry Hewitt

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:

Re:Dumb Question about Docs (1997) Add message to Order (1997) WebCatalog Technical Reference (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) WebCat2 several catalogs? (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) [WebDNA] Webdna and CMS (2012) WCS Newbie question (1997) feature request.... [stop] (2000) Problem with a search context (2005) docs for WebCatalog2 (1997) TeaRoom Order fields email account remain empty even though thewy are filled. (1997) Stopping bad HTML propagation ? (1997) TCP Connect (1999) emailer w/F2 (1997) slowness (1998) Email Problem (1997) before after on (1998) Error, 101 a DNS problem ? (1997) Security & Query Strings (2004)