unix - Extract tar file without creating folder -
i want extract tar file in unix tar xvf /home/test/group.tar , once extracted got folder group has list of xls,pdf,txt files.
how can extract contents of group.tar inside /home/test/list of xls, pdf files without creating group folder.
any specific command available or have follow copy , move??
thanks!
you may use --strip-components 1
parameter.
tar xvf group.tar --strip-components 1
Comments
Post a Comment