Results 1 to 3 of 3
Hello,
I am trying to tar certain files in a directory, but I keep getting a tar invalid --a option? What I am using is this,
tar -cvjf filename.tar.bz2 find ...
- 03-07-2009 #1Just Joined!
- Join Date
- Sep 2007
- Posts
- 27
Help With Tar and Find Command
Hello,
I am trying to tar certain files in a directory, but I keep getting a tar invalid --a option? What I am using is this,
tar -cvjf filename.tar.bz2 find -name '*.sql' -o -name '*.bz2'
Thanks JR
- 03-08-2009 #2Linux User
- Join Date
- Sep 2008
- Location
- UK
- Posts
- 353
Not that good at command line, but look at Mommy, I found it! — 15 Practical Linux Find Command Examples for find examples.
- 03-09-2009 #3


Reply With Quote
