can anyone explain me difference between tar and ufsdump commands.............and also i wd like to know the difference between incremental and differential backup.........
thx in advance (1 Reply)
What is the difference between:
cd /tmp
tar -cf - *.txt |gzip > tmp_txt.tar.gz
and
cd /tmp
mknod pipe p
gzip < pipe > /tmp/tmp_txt1.tar.gz &
tar -cf pipe *.txt
Apart from the fact that we have to create the pipe file manually, is there any difference in the performance of the two?... (5 Replies)
Hi,
I am trying to launch an ogg movie from a pdf file which has been produced with pdflatex and
\movie
{\centerline{\includegraphics
{grafiques_xerrades/un_manolo_amb_camera.pdf}}}
{hlims_xerrades/XocCumuls.ogg}
The switch "externalviewer" makes kpdf launch the default... (5 Replies)
If I want to declare an array of structures in C and have the number of items in that array to correspond to the items of an enumeration, is there a way to access the maximum value in the enumeration when declaring the array?
For instance:
typedef struct
{
various fields....
} ... (3 Replies)
On another simple topic, multiple choice answers OK ( you can pick more than one or suggest others - we will add your suggestions to the poll ).
What Types of Food Do You Like The Most? (27 Replies)
the following excludes certain directories successfully
cp -r probe/!(dir) /destination
I want to exclude certain file types and tried unsuccessfully
cp -r probe/!(*.avi) /destination (2 Replies)
Can I please have some ideas on how to do a recursive grep with certain types of files? The file types I want to use are *.c and *.java.
I know this normally works with all files.
grep -riI 'scanner' /home/bob/ 2>/dev/null
Just not sure how to get it to work *.c and *.java files. (5 Replies)
Discussion started by: cokedude
5 Replies
LEARN ABOUT DEBIAN
ace::model
Ace::Model(3pm) User Contributed Perl Documentation Ace::Model(3pm)NAME
Ace::Model - Get information about AceDB models
SYNOPSIS
use Ace;
my $db = Ace->connect(-path=>'/usr/local/acedb/elegans');
my $model = $db->model('Author');
print $model;
$name = $model->name;
@tags = $model->tags;
print "Paper is a valid tag" if $model->valid_tag('Paper');
DESCRIPTION
This class is provided for access to AceDB class models. It provides the model in human-readable form, and does some limited but useful
parsing on your behalf.
Ace::Model objects are obtained either by calling an Ace database handle's model() method to retrieve the model of a named class, or by
calling an Ace::Object's model() method to retrieve the object's particular model.
METHODS
new()
$model = Ace::Model->new($model_data);
This is a constructor intended only for use by Ace and Ace::Object classes. It constructs a new Ace::Model object from the raw string data
in models.wrm.
name()
$name = $model->name;
This returns the class name for the model.
tags()
@tags = $model->tags;
This returns a list of all the valid tags in the model.
valid_tag()
$boolean = $model->valid_tag($tag);
This returns true if the given tag is part of the model.
path()
@path = $model->path($tag)
Returns the path to the indicated tag, returning a list of intermediate tags. For example, in the C elegans ?Locus model, the path for
'Compelementation_data" will return the list ('Type','Gene').
asString()
print $model->asString;
asString() returns the human-readable representation of the model with comments stripped out. Internally this method is called to
automatically convert the model into a string when appropriate. You need only to start performing string operations on the model object in
order to convert it into a string automatically:
print "Paper is unique" if $model=~/Paper ?Paper UNIQUE/;
SEE ALSO
Ace
AUTHOR
Lincoln Stein <lstein@w3.org> with extensive help from Jean Thierry-Mieg <mieg@kaa.crbm.cnrs-mop.fr>
Copyright (c) 1997-1998, Lincoln D. Stein
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2003-06-01 Ace::Model(3pm)