Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Red Hat 4.8: how to tar.gz a group of files?

Posted on 2010-08-30
2
Medium Priority
?
395 Views
Last Modified: 2013-12-06
Hello experts,

I am in this directory
/Logs

it contains a bunch of log files
083010_1220_67.log
083010_1230_47.log
083010_1240_87.log
083010_1250_37.log
083010_1260_77.log
083010_1320_57.log
083010_1340_67.log
083010_1360_67.log
083010_1380_67.log

how do I tar just just these array of files?
083010_12.*

I tried this and it didn't work:
tar -zcvf 083010_12.tar.gz 083010_12.*.log

thx so much..

0
Comment
Question by:epifanio67
2 Comments
 
LVL 10

Accepted Solution

by:
NetExpert-Warszawa earned 2000 total points
ID: 33564565
Try:
tar -zcvf 083010_12.tar.gz 083010_12*.log
0
 

Author Closing Comment

by:epifanio67
ID: 33564636
yep... thank you expert...

the problem was the period... thank you...
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question