User Tools

Site Tools


uphp:functions:tar_finish

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
uphp:functions:tar_finish [2017/05/27 18:12]
jeff created
uphp:functions:tar_finish [2021/09/13 05:57] (current)
Line 15: Line 15:
 </html></well> </html></well>
  
-This function will attempt to add the ending header to a previously opened file in TAR format((The TAR format is used to collect many files into one archive file, often referred to as a **tarball**, for distribution or backup purposes.  The name for the TAR utility was derived from Tape ARchive, as it was originally developed to write data to sequential I/O devices with no file system of their own.  In addition to the contents of the files the TAR archive can contain information on the file system parameters, such as name, time stamps, ownership, file access permissions and directory organization.)).  To use this function, first open the file using [[fopen()]], then call [[tar_put()]] as many times as needed to add individual files.  When finished adding files call this function to add the ending header and close the file (releasing the handle).+This function will attempt to add the ending header to a previously opened file in TAR format((The TAR format is used to collect many files into one archive file, often referred to as a **tarball**, for distribution or backup purposes.  The name for the TAR utility was derived from Tape ARchive, as it was originally developed to write data to sequential <tooltip title="Input/Output">I/O</tooltip> devices with no file system of their own.  In addition to the contents of the files the TAR archive can contain information on the file system parameters, such as name, time stamps, ownership, file access permissions and directory organization.)).  To use this function, first open the file using [[fopen()]], then call [[tar_put()]] as many times as needed to add individual files.  When finished adding files call this function to add the ending header and close the file (releasing the handle).
  
 ====Parameters==== ====Parameters====
Line 54: Line 54:
  
 [[findnext()]] - Return next matching file information (after a findfirst) [[findnext()]] - Return next matching file information (after a findfirst)
 +
 +[[untar()]] - Expand a TAR file into the current folder, optionally verbose
  
uphp/functions/tar_finish.1495908758.txt.gz · Last modified: 2021/09/13 05:56 (external edit)