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:

cart number tracking (1998) Country & Ship-to address & other fields ? (1997) More on the email templates (1997) read and write you own cookies with webcat (1997) Username/Password with [Protect] (2000) Bug Report, maybe (1997) The evolved Server Configuration Queston (2000) Tab Charactor (1997) problems with WebCat-Plugin (1997) Multiple Pulldowns (1997) Founditems context returning only 1 item (1997) Possible Bug in 2.0b15.acgi (1997) Separate SSL Server (1997) Emailer 1.01 bombs (1997) Multiple cart additions (1997) &fieldsdir=ra truely random?? (2000) limitation found on group searching (1997) know it all (1998) Running 2 two WebCatalog.acgi's (1996) RE: strip .0 off off IPaddress (1999)