Automatically decompress *.tar.gz files to *.tar within Windows 2008 R2 Enterprise?

Is it possible to have any and all *.tar.gz files that are dumped to a certain folder automatically decompressed/unzipped to *.tar in order to be processed by an sFTP job?  Thanks for any help you may be able to provide.

Hi Señor SIEM,
If you want to unzip files in powershell, this needs the thrid-party unzip application to run the powershell script, for more detailed information, please refer to this thread:
powersell How to Unzip a file and copy it to specific location with 7zip?
I hope this helps.

Similar Messages

  • Extract *.tar.gz file, error tar: 0511-164 There is a media read or write b

    when try to:
    $gzip -dc /dbdump/patch/oraInventory_BK.tar.gz | tar xf /tmp/t
    tar: 0511-164 There is a media read or write block size error.
    how to unzip/ extract tar sucussfully?
    AIX box
    thanks

    Preferably Unix questions are answered by consulting man pages or an Unix forum.
    Your questions is 100 percent of topic here. Kindly stop posting Unix questions here.
    Sybrand Bakker
    Senior Oracle DBA

  • High Page Reads/Sec on Windows 2008 R2 64-bit running on VMware but very low Real Memory & Page file Usage.

    Hello All,
    Below is the server configuration,
    OS: Windows 2008 R2 Enterprise 64 Bit
    Version: 6.1.7601 Service Pack 1 Build 7601
    CPU: 4 (@ 2.93 GHz, 1 core)
    Memory: 12 GB
    Page file: 12 GB
    1. The actual utilization, be it a 15 minute sample, hourly, weekly etc, the utilization of real memory has never crossed 20% and the page file usage is at 0.1%. For some reason, the Pages/Sec>Limit% counter reports 100% continuously regardless of the
    sampling intervals. Upon further observation, the Page Reads/Sec value is somewhere between 150~450 and Page Input/Sec is somewhere between 800~8000. Does this indicate a performance bottleneck? (I've in the interim asked the Users, App. Owners to see if they
    notice any performance degradation and awaiting response). If this indicates a performance issue, please could someone help list down how to track this down further to which process/memory mapped file is causing it? and what I should go about performing to
    fix this problem please?
    p.s., initially the Security logs were full on this server and since page file is tied to Application, Security and System logs, this was freed up to see if this is causing the high page reads but this doesn't.
    2. If the above does not necessarily indicate a performance problem, please can someone reference few KB articles that confirms this? Also, in this case, will there be any adverse effects if attempting to fine tune a server which is already running fine?
    assuming App. Owners confirm there isn't any performance degradation.
    Thanks in advance.

    Hi,
    Based on the description, we can try to download Server Performance Advisor (SPA) to help further analyze the performance of the server. SPA can generate comprehensive diagnostic reports and charts and provides recommendations to help you quickly analyze
    issues and develop corrective actions.
    Regarding this tool, the following articles can be referred to for more information.
    Microsoft Server Performance Advisor
    https://msdn.microsoft.com/en-us/library/windows/hardware/dn481522.aspx
    Server Performance Advisor (SPA) 3.0
    http://blogs.technet.com/b/windowsserver/archive/2013/03/11/server-performance-advisor-spa-3-0.aspx
    Best regards,
    Frank Shen
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • OS X Leopard and Windows 2008 file server mount_smbfs

    Hello
    I am unable to use the command mount_smbfs to mount a share on a Windows 2008 file server in OS X 10.5.8 Leopard.
    Here is what I am trying to do:
    I have a Mac Mini running OS X 10.5.8 that is joined to a Windows 2003 Active Directory domain. I also have a stand alone Windows file server running Windows Server 2008.
    I want to mount a share on the Windows 2008 file Server using the command line and not Finder. I do have a reason for wanting to do this which I wont bore you with.
    On the Mac Mini, I log in with an Domain account that has permission to access the file shares on the Windows 2008 file server. In Terminal I do the following:
    cd /Users/username
    mkdir mountpoint
    mount_smbfs //windows2008server/fileshare /Users/username/mountpoint
    This command should mount the share "fileshare" hosted on server "windows2008server" in the folder "mountpoint" on the Mac Mini.
    Here is the problem:
    When I execute this command, I get:
    Password: so I put in my password
    then I get:
    mount_smbfs: mount error: /Users/username/mountpoint: Broken pipe
    Analysis of the problem:
    I tried exactly the same commands to mount a share on a Windows 2003 file server. I am not asked for my password and the share mounts perfectly. I also tried the same command in OS X 10.6 to mount a share on a Windows 2008 file server, again, I was not asked for my password and the share mounted perfectly.
    So the problem is only mounting Windows 2008 file shares using mount_smbfs in OS X 10.5.8. I am not sure quite what is going wrong here, as the Mac is joined to the domain, it is granted a Kerberos ticket so should not be asking for my password. Is this a known bug in OS X 10.5? Is there a fix/workaround for it?
    Many thanks
    Richard.

    Not sure what user the mount command defaults to. You may want to specify your user name in the mount command (you can also specify the password). Try using this:
    mount_smbfs //username@windows2008server/fileshare /User/username/mountpoint
    Of course substituting the Windows 2008 account name you are mounting with for the username.
    Cheers,
    Dave

  • Extracting tar.bz2 files.

    How can i extract tar.bz2 files?. zip, jar, tar can be extracted within java. But how tar.bz2?.

    Some tars have built-in knowledge of the bz2 (bunzip) compression format.
    Tar ("tape archive") is to package several files in one archive or to extract them. The archive files can be called "*.tar".

  • Handling tar.gz files

    Hi all,
    I am looking to get PHP up and running on my Mac I found the PHP modules on http://www.entropy.ch/software/macosx/php/ which was linked directly from php.net.
    The tutorial for installation says NOT to use Stuffit but to use BOMArchiveHelper instead to unpack the installation files.
    I have clicked "get info" on my php-5.2.1.tar.gz file and chose BOMArchiveHelper to open the file.
    Problem is when I double click the file a second archive is created, it is compressing again instead of unpacking!
    Any help with this will be greatly appreciated. A second option could be if you can point out a tutorial for correctly handling any compressed file from the command line.
    Thanks in advance.
    Juan

    Juan:
    Try this. Create a new folder in your desktop (let's say you called it PHP) and put your archive in there. Then open the terminal (in Utilities) and change directories to the new folder:
    cd ~/Desktop/PHP
    Then, extract the archive with
    tar -xzvf php-5.2.1.tar.gz
    That should decompress and unarchive the contents of the "tarball" into the PHP directory. We created the PHP directory only to prevent a potential large number of files loose in your desktop.
    Good luck,
    Juan-Pablo

  • Automator workflow to TAR multiple files in a single directory into multiple TAR archives, in succession?

    Good afternoon,
    I have set up an automator service that TAR's a folder into an archive for me and it works quite nicely. Idealy however, I would like to be able to highlight several folders, right click and have automator tar each folder into it's own TAR archive, but do it one by one.
    Example:
    FOLDER 01
    FOLDER 02
    FOLDER 03
    Highlight all - Right Click - "TAR Folder" - Automator takes over at this point and TARs each one into:
    FOLDER 01.tar (Once complete moves onto:)
    FOLDER 02.tar (Once complete moves onto:)
    FOLDER 03.tar (Finished)
    I'm not 100% sure so I guess it would be a good time to verify, is there a problem with having the system try to TAR multiple folders at one time? If it is not a problem then I guess this discussion itself is pointless and I can simple right click on each folder and select "TAR Folder" and just wait until they're all finished. I would think that it would be ideal for the system to do each one individually and not try to do them all at one time.
    Any help would be appreciated.
    Thank you!!

    I don't think I have the following totally fleshed out but you probably can extrapolate on it.   This is a service which you can right click a set of folders  and it will tar the files within those selected folders with then file names "name xxx.tar", where name is the tar'ed file/folder and xxx is a count within the folder.
    I think that is what you originally specified so I am a bit confused by your script with the bit about Archive.tar. 
    Anyway here the basic idea:
    I ran the script directly with a folder argument just to see it indeed tar's up all the stuff inside, one tar per item.

  • How Unpacking a tar.gz file in unix?

    Please...help me....i know that it is no a unix forum...but i don't know how reach it....and i wish to unUnpacking a tar.gz file in unix that are some java programs....
    Thanks a lot...
    Mary

    Depends on which unix you are talking about.
    tar -zxf file works on Linux and a few other variants
    If your variant cannot handle the z (zip, compressed) flag then you have to do it in two steps
    gzip -d file
    then
    tar -xf file
    Note that after the first step the file will remove the .gz extension because it has been decompressed
    Cheers

  • Easy Question:  Correct tar command to extract tar file

    If I have a tar file I wish to extract and let it automatically place the files where the belong what should I type in the Terminal, assuming I'm in the directory the tar file resides?

    tar xvf [tar filename]
    If the tar file was created with GNU tar, then it may be malformed (using a non-standard extension for long paths). In this case you will need to use gtar (/usr/sfw/bin/gtar).
    Paul

  • Unzip *.tar.gz files

    I am using windows but I need to unzip a file demo.tar.gz
    Does anybody help me accomplish this...

    Winzip will do this for you

  • Where is the xsqlservlet_v9****.tar.gz file?

    I'm looking to install XSQL Servlet support on Oracle 8.1.7.
    I've just downloaded the latest XDK for Java, since technet
    states the XSQL Servlet components are included in it. After
    uncompressing the download and reviewing the included
    documentation, I expected to find a xsqlserlvet_v9_0_1_0.tar.gz
    file included somewhere in the directory structure. Nope, not
    there...so either:
    (1). The included docs are wrong/outdated - I'm looking
    at "Downloading and Installing the XSQL Servlet".
    (2). My expectation is wrong OR missing an important step.
    (3). I've downloaded the wrong file.
    Any ideas? Thanks.

    Another observation on the release notes included with the
    download...
    In reviewing the section "Software Included in the XSQL Servlet
    Distribution" of the "Oracle XSQL Pages and the XSQL Servlet"
    Release Notes, it mentions the following files:
    .\xsql\lib\xmlparserv2.jar
    .\xsql\lib\xsu12.jar
    .\xsql\lib\classes12.jar
    .\xsql\lib\sax2.jar
    I don't see the .\xsql\lib directory structure in what I
    downloaded??? I see xmlparserv2 and xsu12 in the ./lib
    directory, but classes12 and sax2 are no where to be found.
    I realize I can download classes12 and sax2 from elsewhere, but
    I still have this strange feeling that I'm missing something
    here...

  • Jar File for uncompress *.tar.Z-File

    hello,
    i'm locking for a jar -file to uncompress *.tar.Z files but i cant't found souch a jar file.
    do you know where i can download a jar-file wich suppose to extract a *.Z-Archiv? You do you know how i can extract a *.tar.Z-Archiv?
    Torsten

    hello,
    i'm locking for a jar -file to uncompress *.tar.Z files but i cant't found souch a jar file.
    do you know where i can download a jar-file wich suppose to extract a *.Z-Archiv? You do you know how i can extract a *.tar.Z-Archiv?
    Torsten

  • How to un tar required file?

    Hello All,
    I used TAR backup as below.
    tar -cvf test01.tar /uo1/oracle/bin/java
    its created testo1.tar file.
    Now i wanted to untar or recovery only one file instaed of whole tar file.
    for e.g: i wanted to recovery only file under bin folder callled config.
    how to un tar file?
    Any help will be appreciated. Thanks
    D

    You can look inside the tar using the 't' command:
    tar tvf file.tar And you can untar only one file with:
    frits@gateway:~/download$ mkdir t
    frits@gateway:~/download$ cd t
    frits@gateway:~/download/t$ touch a
    frits@gateway:~/download/t$ touch b
    frits@gateway:~/download/t$ tar czf ab.tgz *
    frits@gateway:~/download/t$ ls
    a  ab.tgz  b
    frits@gateway:~/download/t$ tar tzf ab.tgz
    a
    b
    frits@gateway:~/download/t$ rm a
    frits@gateway:~/download/t$ ls
    ab.tgz  b
    frits@gateway:~/download/t$ tar xzf ab.tgz a
    frits@gateway:~/download/t$ ls
    a  ab.tgz  b
    frits@gateway:~/download/t$

  • Reading a tar/bzip2 file.

    Is there any way can I read, maybe a stream, a file in tar and bzip2 form(.tar.bz2)?

    First you need to read the bzip2 format
    [http://www.google.co.uk/search?q=bzip2+java]
    into something which can read tar format
    [http://www.google.co.uk/search?q=tar+java]

  • Tar extract file in particular directory excluding path stored in tar file

    In winzip you have chk box 'Use Foldername', if you uncheck it, all files will be extracted to path given in Extract to:
    Like winzip, do you have facility to extract files from tar file to a particular directory ignoring path stored in tar file.
    os - linux,unix
    regds

    Using -C <new_directory> options creates
    subdirectories under the new_directory as per path
    stored in tar file
    I just want to extract the files in the -C directory.
    e.g.
    # tar -tvf archive.tar
    -rw-r----- oracle/oinstall 4669440 2006-11-30
    13:23:02 /app/fmb/FORM1.fmb
    -rw-r----- oracle/oinstall 200704 2006-11-29
    10:18:25 /app/fmb/FORM2.fmb
    when i give following command
    tar -xvf archive.tar -C TargetDir
    creats subdirectory app/fmb in this TargetDir and
    then extract the files Forms1.fmb
    TargetDir/app/fmb/FORM1.fmb
    TargetDir/app/fmb/FORM2.fmb.
    where as i want FORM1.fmb and FORM2.fmb in TargetDir
    TargetDir/FORM1.fmb
    TargetDir/FORM2.fmb
    regdsit's include directory information when you run tar cvf.
    you can do the following action
    1. cd /app/fmb/
    2. tar cvf archive.tar *
    3. tar -xvf archive.tar -C TargetDir

Maybe you are looking for

  • Reading in from file

    Hi, I've been looking at some resources online but cant seem to understand it very well. I have been given partially completed code from my lecturer, and i have to complete this code. I'm not looking for solutions but if you would be so kind to eithe

  • Trying to buy Creative Cloud, screen stuck on confim order. What should I do?

    Hey, I'm trying to buy CC (one-year prepaid). After entering all my personal and credit card info, I click confirm. Next to the "Confirm Membership" button, is a loading graphic square spinning-about. This is going on for a long time now and I am una

  • The skype can't connect

    Hi, Two days ago the skype disconnect me during a conversation since that time there is no connection. I tried to change my password (since that time I can't log on either - because have no connection), uninstall and reinstall the program and I also

  • Is it possible to export my list of forms to Excel

    is it possible to export my list of forms to Excel

  • Adding a custom link to an Application OAF page

    I need to add a custom link to a standard OAF page, this link should launch an application which requires a log in. Can I add this link through personalization. If I add this link through personalization, how do I pass parameters to this application