[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] GNU tar.exe opens a console window when run from the scrip
Re: [Bug-tar] GNU tar.exe opens a console window when run from the script
Thu, 27 Jan 2005 11:22:03 +0200
Venkatesan <address@hidden> wrote:
> I am evaluating the GNU tar.exe to use in our project. When I run
> the GNU tar.exe from the script or some external program, it opens a
> console window and closes it.
GNU tar itself does not open any windows. It is your window manager who
is responsible for that.
> * Currently GNU tar provides option to extract the file to the current
> folder or a subfolder in which the tar.exe is executed. Is there any
> way to direct the output of the extracted files to a different
> directory which exist in some other location?
Use -C option: tar -C directory -xf archive
> * Is there any way to change the permission of the file while
GNU tar provides two options for this purpose: --same-permissions
and its counterpart --no-same-permissions. See tar documentation for