fredjonzeTwo
asked on
Windows 7 extract from .tar and concatenate
Hi,
I received a .tar MySql backup that has a folder with multiple .gz files. I need to extract each of the .gz mySql.sql files from the .tar and concatenate them. I'm on windows 7 and the Linux command I was provided is:
for file in *.sql.gz; do zcat $file | mysql $YOUR_INTERNAL_NEW_COPY_DB $; done
Hoping someone can translate this to a windows compatible batch or winRar/7Zip command.
Thx,
Fred
I received a .tar MySql backup that has a folder with multiple .gz files. I need to extract each of the .gz mySql.sql files from the .tar and concatenate them. I'm on windows 7 and the Linux command I was provided is:
for file in *.sql.gz; do zcat $file | mysql $YOUR_INTERNAL_NEW_COPY_DB
Hoping someone can translate this to a windows compatible batch or winRar/7Zip command.
Thx,
Fred
Were you able to try the Peazip feature I mentioned?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.peazip.org/download-installer-p-windows.html