07-28-2009
Thanx a lot man!!!, it works perfectly.
See ya.
5 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hola. Tengo un problema. En un archivo tengo distintos campos y en alguno de ellos y en alguna linea me aparecen ******.
ej:
hola 0.1 ****** 85
adios 1.2 9650 23
gracias 2 ****** 54
bye 87 5666 89
hi ... (1 Reply)
Discussion started by: kekaes
1 Replies
2. Shell Programming and Scripting
Hola,
Estoy haciendo un script y queria de un archivo por ejemplo de 650 lineas, recortarlo y hacer archivos mas pequeños de 100 lineas, y que me salieran 7 archivos, por poner un ejemplo.
No tengo ni idea de hacerlo la verdad....xD
Un saludo y gracias! (3 Replies)
Discussion started by: uri_crack
3 Replies
3. Shell Programming and Scripting
Hola a todos les cuento que estoy haciendo un programa en bash y queria saber como puedo hacer para borrar lineas de un documento de las palabras que NO terminen en S con SED, es decir, mostrar solamente las que terminan con la letra S.
les cuento que probe con:
sed -e /$.*/d "$archivo" |... (1 Reply)
Discussion started by: adiegorpc
1 Replies
4. Shell Programming and Scripting
Hola tengo el siguiente script
#!bin/bash
cd $1
ls -lS $1
Me muestra de orden por tamaño de archivos de mayor a menor ./miscript.sh /root por ejmplo. Como puedo asignarle si al final de comando ponga -d me mustre solos las carpetas o si es -a me muestre los documentos.
./miscript.sh... (1 Reply)
Discussion started by: krlos07
1 Replies
5. Shell Programming and Scripting
Hola, he empezado la carrera de informática y tengo que hacer uno ejercicios con Cygwin ( mismos comandos que UNIX ).
Y en el ejercicio me dice que tengo que abrir un archivo .csv y que selecione las lineas en que en la tercera columna el valor sea 4 y en la cuarta columna el valor sea 2, he... (1 Reply)
Discussion started by: mcanhizares
1 Replies
LEARN ABOUT DEBIAN
netapp::snapshot
NetApp::Snapshot(3pm) User Contributed Perl Documentation NetApp::Snapshot(3pm)
NAME
NetApp::Snapshot -- OO class for creating and managing snapshots
SYNOPSIS
use NetApp::Filer;
use NetApp::Snapshot;
my $filer = NetApp::Filer->new( .... );
DESCRIPTION
This class encapsulates a single NetApp snapshot, and provides methods for querying information about the snapshot, as well as methods for
managing it.
METHODS
get_parent
Returns the NetApp::Aggregate or NetApp::Volume object for the aggregate or volume for which object is a snapshot.
get_name
Returns a string representing the name of the snapshot.
get_date
Returns the date the snapshot was created.
get_used
Returns the percentage of space used by snapshot.
get_total
Returns the percentage of total space used by the snapshot.
get_snapshot_deltas
Returns an array of NetApp::Snapshot:Delta objects, each representing a single delta for this snapshot.
get_reclaimable
Returns the amount of reclaimable space, if the snapshot is deleted. Note that experimentally, this command has a lot of failure
scenarios, most of which are reasonable (there are a lot of cases where you can't query this data). Therefore, unlike most of the methods
in this API, it doesn't raise a fatal exception if it can't query the information, it simply generates warnings.
rename( $newname )
Renames the snapshot to the specified name.
restore( %args )
This method is an interface to the "snap restore" command. The argument syntax is:
$snapshot->restore(
type => 'vol' | 'file', # Defaults to vol
from_path => $from_path,
to_path => $to_path,
);
The 'type' argument maps to the -t CLI argument, and the 'to_path' argument maps to the -r CLI argument. Refer to the na_snap(1) man page,
and the "snap restore" documentation for further information.
perl v5.14.2 2008-11-26 NetApp::Snapshot(3pm)