02-17-2015
Writing Requirements pays better than Coding . . . .
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello,
I made a tar with a lot of file, and i deleted all the Files.
So to win tile I want to make a grep of this tar file to search any text .
Is there a Unix command available for this ?
I tried : grep xyz file.tar but there is nothing .
Thanks for your help.... (1 Reply)
Discussion started by: steiner
1 Replies
2. Shell Programming and Scripting
hi all,
kindly help me how to extract one file form .tar.gz without uncompressing .tar.gz file.
thanks in advance
bali (2 Replies)
Discussion started by: balireddy_77
2 Replies
3. Solaris
Hi all,
How to untar a file having .tarz extension?
i tried this
tar -xvfz file.tarz
but i'm getting error like
tar: z: unknown function modifier
Usage: tar {c|r|t|u|x}] {file | -I include-file | -C directory file}...
Can anyone help me out in this....
Thanks in advance.... (2 Replies)
Discussion started by: gullapalli
2 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
4 files are returned when i issue 'find . -mtime -1 -type f -ls'.
./ora_475244.aud
./ora_671958.aud
./ora_934052.aud
./ora_934050.aud
However, when I issued the below command:
tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies
5. Shell Programming and Scripting
Trying to write a script to do the following.
scp to all redhat linux host and install a antivirus tarball. Need to know what additional syntax to use to untar the file and execute the install.sh inside the tarball and then remove the tarball on all remote hosts.
Here is what I have so... (2 Replies)
Discussion started by: soupbone38
2 Replies
6. Shell Programming and Scripting
I am fairly new to scripting.
I have a script to untar files as they come in.
I keep scripts in one directory: /Scripts
I get a tar'ed file in /Processing
*CMD*
$tar -xfv /Processing/File.tar
When i run the script the untared files are placed in /Scripts
i did some hunting around and... (2 Replies)
Discussion started by: purplebirky
2 Replies
7. Shell Programming and Scripting
Hi All
I have searched the possibility of this options everywhere but am unable to find it in any forum.
I have a tar file inside which there are n number of files and i dont know them. I need to grep a word inside the tar file and need to know in which file the word resides.
> cat a... (2 Replies)
Discussion started by: Whiteboard
2 Replies
8. UNIX for Advanced & Expert Users
hi,
I am in a weird situation. I have a parent tarball which contains 2 sub tarballs.
The structure is such :
Parent.tar.gz ---- > child1.tar.gz and child2.tar.gz
I need to get the size of the parent tarball without untaring it
I know that the command is gunzip -c parent.tar.gz | wc -c ... (1 Reply)
Discussion started by: mnanavati
1 Replies
9. UNIX for Dummies Questions & Answers
I would like to confirm my file.tar is been tar-ed correctly before I remove them. But I have very limited disc space to untar it.
Can I just do the listing instead of actual extract it? Can I say confirm folder integrity if the listing is sucessful without problem?
tar tvf file1.tar
... (1 Reply)
Discussion started by: vivien_chu
1 Replies
10. UNIX for Dummies Questions & Answers
Hello Team,
Would you please help me with a UNIX command that would check if file is a tar file.
if we dont have that , can you help me with UNIX command that would check if file ends with .tar
Thanks in advance. (10 Replies)
Discussion started by: sanjaydubey2006
10 Replies
LEARN ABOUT DEBIAN
dbix::class::schema::loader::dbi::writing
DBIx::Class::Schema::Loader::DBI::Writing(3pm) User Contributed Perl Documentation DBIx::Class::Schema::Loader::DBI::Writing(3pm)
NAME
DBIx::Class::Schema::Loader::DBI::Writing - Loader subclass writing guide for DBI
SYNOPSIS
package DBIx::Class::Schema::Loader::DBI::Foo;
# THIS IS JUST A TEMPLATE TO GET YOU STARTED.
use strict;
use warnings;
use base 'DBIx::Class::Schema::Loader::DBI';
use mro 'c3';
sub _table_uniq_info {
my ($self, $table) = @_;
# ... get UNIQUE info for $table somehow
# and return a data structure that looks like this:
return [
[ 'keyname' => [ 'colname' ] ],
[ 'keyname2' => [ 'col1name', 'col2name' ] ],
[ 'keyname3' => [ 'colname' ] ],
];
# Where the "keyname"'s are just unique identifiers, such as the
# name of the unique constraint, or the names of the columns involved
# concatenated if you wish.
}
sub _table_comment {
my ( $self, $table ) = @_;
return 'Comment';
}
sub _column_comment {
my ( $self, $table, $column_number ) = @_;
return 'Col. comment';
}
1;
DETAILS
The only required method for new subclasses is "_table_uniq_info", as there is not (yet) any standardized, DBD-agnostic way for obtaining
this information from DBI.
The base DBI Loader contains generic methods that *should* work for everything else in theory, although in practice some DBDs need to
override one or more of the other methods. The other methods one might likely want to override are: "_table_pk_info", "_table_fk_info",
"_tables_list" and "_extra_column_info". See the included DBD drivers for examples of these.
To import comments from the database you need to implement "_table_comment", "_column_comment"
AUTHOR
See "AUTHOR" in DBIx::Class::Schema::Loader and "CONTRIBUTORS" in DBIx::Class::Schema::Loader.
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-06-08 DBIx::Class::Schema::Loader::DBI::Writing(3pm)