[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

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

Posted on 2010-08-30
2
Medium Priority
?
392 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Are you sitting there reading this and wondering how to get started with Linux? It almost seems like picking the right Linux distribution is about like picking the right college or buying a new car if you read some of the article out there. Relax… l…
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 …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

650 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