bug-tar
[Top][All Lists]
Advanced

[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


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] GNU tar.exe opens a console window when run from the script
Date: Thu, 27 Jan 2005 11:22:03 +0200

Venkatesan <address@hidden> wrote:

> Hi,
>     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
> extracting.

GNU tar provides two options for this purpose: --same-permissions
and its counterpart --no-same-permissions. See tar documentation for
details.

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]