tar
    Preparing search index...

    Function delete

    • Remove entries from an archive file. An entry is removed if files lists its path or one of its parent directories. With opt.filter, only if the filter also returns true. With no files, each entry that the filter accepts is removed. A listed path that no entry matches is a warning.

      The other entries are written to a new file next to the archive, with the compression and the mode of the archive. The new file then gets the path of the archive. The archive does not change if the command fails.

      Parameters

      • options: Omit<DeleteOptions, Aliased> & Partial<Pick<DeleteOptions, "file">> & (
            { readonly f?: string | undefined; } & ({ file: string; } | { f: string; })
        )
      • Optionalfiles: string[]

      Returns Promise<void>