10-23-2001
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I get a compressed file for linux and I want to uncompress it in Unix. Is that possible?
I try with te command uncompress but it didnīt work.
T.hanks (3 Replies)
Discussion started by: diegoe
3 Replies
2. Shell Programming and Scripting
Hi UNIX gurus,
the scenario is that i have written a script which takes as input a directory structure.
And after that a tar is made ,then zipped and FTP it to a server.But how do i uncompress it from my script as FTP doesnot support any uncompress command during FTP session.
I have to automate... (2 Replies)
Discussion started by: rahul26
2 Replies
3. HP-UX
Hi All,
is there any command to unzip the compressed files compressed using PKZIP on HP-UX. We dont have unzip. and gunzip or compress commands are not working. is there any other to do this?
Thank you very much for the help.
Regards,
Srinivas (3 Replies)
Discussion started by: srinivas_paluku
3 Replies
4. Shell Programming and Scripting
How can i list uncompress files and compress those and also vice versa
suppose im listing the compressed files as ls -ltr *.Z.
how can i list the uncompressed files using not *.Z. (1 Reply)
Discussion started by: laknar
1 Replies
5. Shell Programming and Scripting
i have some 100's of files in the format .tar.gz. how to uncompress them in a single shot
i have sorted the files according to current date and now they reside in a dir called naveed1.
cd naveed1
ls -ltr
file1.tar.gz
file2.tar.gz
:
:
:
file100.tar.gz
how to uncompresse them in... (8 Replies)
Discussion started by: ali560045
8 Replies
6. Shell Programming and Scripting
I need a shell script to Uncompress untar all the files present in the directory (it should Uncompress an untar files present in its sub folders also)
In my work I get lots of tar files to untar and update the server, for this each time in need to type
Step1) Uncompress xyz1-3.tar.z... (2 Replies)
Discussion started by: arewe
2 Replies
7. Shell Programming and Scripting
hi everyone ,
Can someone provide me a shell program to compress and decompress files using gzip , i dont know anything in shell programming , this code is a part of my project.
So can someone help with me the code ? (2 Replies)
Discussion started by: mig23
2 Replies
8. Shell Programming and Scripting
i Have 150 tar.gz files and i need to uncompress and extract all the files from those 150 tar.gz and i will have 150 files on daily basis.
could any one help me out with the script to uncompress tar.gz files. (5 Replies)
Discussion started by: gaddamshashank
5 Replies
9. HP-UX
I have file with large size in HP-UX os. I need to compress on HP-UX and ftp to linux server and i need to uncompress the files. How can i do this? Any help is highly appreciated.. (3 Replies)
Discussion started by: govindts
3 Replies
10. Shell Programming and Scripting
Hi,
I need to uncompress sevral tar.gz files that are located insides sevral folders using a shell script.
Folder tree looks like this :
/folder/001
/folder/002
/folder/003 Inside each folder dossier (001,002,003) we can find 1 or several tar.gz files.
I've scripted something... (9 Replies)
Discussion started by: shellX
9 Replies
LEARN ABOUT DEBIAN
class::dbi::asform
Class::DBI::AsForm(3pm) User Contributed Perl Documentation Class::DBI::AsForm(3pm)
NAME
Class::DBI::AsForm - Produce HTML form elements for database columns
SYNOPSIS
package Music::CD;
use Class::DBI::AsForm;
use base 'Class::DBI';
use CGI;
...
sub create_or_edit {
my $class = shift;
my %cgi_field = $class->to_cgi;
return start_form,
(map { "<b>$_</b>: ". $cgi_field{$_}->as_HTML." <br>" }
$class->Columns),
end_form;
}
# <form method="post"...>
# Title: <input type="text" name="Title" /> <br>
# Artist: <select name="Artist">
# <option value=1>Grateful Dead</option>
# ...
# </select>
# ...
# </form>
DESCRIPTION
This module helps to generate HTML forms for creating new database rows or editing existing rows. It maps column names in a database table
to HTML form elements which fit the schema. Large text fields are turned into textareas, and fields with a has-a relationship to other
"Class::DBI" tables are turned into select drop-downs populated with objects from the joined class.
METHODS
The module is a mix-in which adds two additional methods to your "Class::DBI"-derived class.
to_cgi
This returns a hash mapping all the column names of the class to HTML::Element objects representing form widgets.
to_field($field [, $how])
This maps an individual column to a form element. The "how" argument can be used to force the field type into one of "textfield",
"textarea" or "select"; you can use this is you want to avoid the automatic detection of has-a relationships.
CHANGES
Version 1.x of this module returned raw HTML instead of "HTML::Element" objects, which made it harder to manipulate the HTML before sending
it out. If you depend on the old behaviour, set $Class::DBI::AsForm::OLD_STYLE to a true value.
MAINTAINER
Tony Bowden
ORIGINAL AUTHOR
Simon Cozens
BUGS and QUERIES
Please direct all correspondence regarding this module to:
bug-Class-DBI-AsForm@rt.cpan.org
COPYRIGHT AND LICENSE
Copyright 2003-2004 by Simon Cozens / Tony Bowden
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
Class::DBI, Class::DBI::FromCGI, HTML::Element.
perl v5.10.1 2005-09-06 Class::DBI::AsForm(3pm)