Lines Matching full:extract
278 """General exception for extract errors."""
1987 """Extract all members from the archive to the current working
1990 to extract to. `members' is optional and must be a subset of the
2001 # Extract directories with a safe mode.
2006 self.extract(tarinfo, path, set_attrs=not tarinfo.isdir(),
2026 def extract(self, member, path="", set_attrs=True, *, numeric_owner=False):
2027 """Extract a member from the archive to the current working directory,
2065 """Extract a member from the archive as a file object. `member' may be
2084 # to extract a (sym)link as a file-object from a non-seekable
2086 raise StreamError("cannot extract (sym)link as file object")
2097 """Extract the TarInfo object tarinfo to a physical
2141 # _extract_member() when extract() is called. They can be replaced in a
2211 # See extract().
2466 group.add_argument('-e', '--extract', nargs='+',
2468 help='Extract tarfile into target dir')
2495 elif args.extract:
2496 if len(args.extract) == 1:
2497 src = args.extract[0]
2499 elif len(args.extract) == 2:
2500 src, curdir = args.extract