04-28-2009
Whats wrong with just * (or ./* )?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I would like to archive some of the scripts below(USFINUM042006_01.CSV
USFINUM042006_02.CSV and USFINUM042006_03.CSV )and also use a wildcard e.g. <command> USFINUM*.CSV. Also there are a lot of similar files but I want only the three latest files to be compressed. Which is the best... (3 Replies)
Discussion started by: indira
3 Replies
2. Filesystems, Disks and Memory
Hello,
I am having difficulty compressing the files using compress or GZIP utility on NAS share NFS mounted on my linux server. Any one have idea on how to do this ? I get the followign error but the trying to compress the files
STRP2> compress STR_OUTBOUND_CDM_LOG_LOB.PRT2008_26.txt... (0 Replies)
Discussion started by: kamathg
0 Replies
3. Shell Programming and Scripting
Could someone give me an idea how to compress all files from a given directory that are not of type .z (compressed). Please help. (2 Replies)
Discussion started by: lesstjm
2 Replies
4. Shell Programming and Scripting
hi guys..
Since am a bit new to shell scripting, can anyone help me with this problem please.. i've been struggling with it since 2 days. :(
I have a directory lets say myFolder and within it I have sub directories let say myFolder1.tar, myFolder2, myFolder3, etc. I need to write a shell... (12 Replies)
Discussion started by: kanexxx
12 Replies
5. Linux
Hi folks,
I'm trying to compress a certain number of files from a cifs mount to a xfs mount, but cannot do it when the total size of the files is bigger than 2GB.
Is there any limitation for above 2GB?
OS is SLES 64bit
The files are maximum 1MB, so there are aprox. 2000 files to compress... (2 Replies)
Discussion started by: xavix
2 Replies
6. UNIX for Advanced & Expert Users
Hi,
I have an application which creates the logs in a date wise.
like,
tomcat_access_log.2009-09-12.log
tomcat_access_log.2009-09-11.log
tomcat_access_log.2009-09-10.log
tomcat_access_log.2009-09-09.log
tomcat_access_log.2009-09-08.log
tomcat_access_log.2009-09-07.logNow my requirement is... (5 Replies)
Discussion started by: skmdu
5 Replies
7. UNIX for Dummies Questions & Answers
Hi All !
We have to compress a big data file in unix server and transfer it to windows and uncompress it using winzip in windows.
I have used the utility ZIP like the below.
zip -e <newfilename> df2_test_extract.dat
but when I compress files greater than 4 gb using zip utility, it... (4 Replies)
Discussion started by: sakthifire
4 Replies
8. Shell Programming and Scripting
Hi ALL,
I am working on a folder where there are lot of files for the past one year. I need to compress a particular month files alone. suppose i need to compress the feb month files alone, what is the script we can use.
Thanks in advance (2 Replies)
Discussion started by: acronis.84
2 Replies
9. Shell Programming and Scripting
Hi All,
I want to compress a .war file.
bash-3.00$ ls -l /opt/test
-rw-r--r-- 1 test test 15M Aug 22 18:20 old.war
bash-3.00$ find . -type f -exec compress {} \;
./irc.war: -- file unchanged
While try to compress the above file i am getting "file unchanged error"... (7 Replies)
Discussion started by: natraj005
7 Replies
10. UNIX for Dummies Questions & Answers
Hi All,
I want to fetch the files based on .done file and display the .csv files and Wil take .csv files for processing.
1.I need to display the .done files from the directory.
2.next i need to search for the .Csv files based on .done file.then move .csv files for the one directory
... (2 Replies)
Discussion started by: girija.g6
2 Replies
LEARN ABOUT DEBIAN
www::mediawiki::client::exceptions
WWW::Mediawiki::Client::Exceptions(3pm) User Contributed Perl Documentation WWW::Mediawiki::Client::Exceptions(3pm)
NAME
WWW::Mediawiki::Client::Exception - exception handling for WWW::Mediawiki::Client
SYNOPSIS
use WWW::Mediawiki::Client::Exception;
use Data::Dumper;
# throw
eval {
WWW::Mediawiki::Client::LoginException->throw(
error => 'Something bad happened',
res => $res,
cookie_jar => $cookie_jar,
);
};
# catch
if (UNIVERSAL::isa($@, 'WWW::Mediawiki::Client::LoginException') {
print STDERR $@->error;
print Dumper($@->res);
}
DESCRIPTION
A base class for WWW::Mediawiki::Client exceptions.
SUBCLASSES
WWW::Mediawiki::Client::URLConstructionException
Indicates a problem with the URL with which we to the Mediawiki server.
WWW::Mediawiki::Client::AuthException
Indicates a problem with the provided authentication information
WWW::Mediawiki::Client::LoginException
Indicates that login failed for an unknown reason
Fields:
res For the apache response object returned by the attempt to log in.
cookie_jar
For the cookie jar which was returned by the attempt to log in.
WWW::Mediawiki::Client::CookieJarException
Something went wrong saving or loading the cookie jar
WWW::Mediawiki::Client::FileAccessException
Something went wrong saving or loading a file
WWW::Mediawiki::Client::FileTypeException
The file which we attempted to operate on is not a .wiki file
WWW::Mediawiki::Client::AbsoluteFileNameException
The file which we attempted to operate on is not a .wiki file
WWW::Mediawiki::Client::CommitMessageException
There is a problem with the commit message
WWW::Mediawiki::Client::CommitException
Something went wrong while committing a change
WWW::Mediawiki::Client::PageDoesNotExistException
There is no such page, either here or on the server
WWW::Mediawiki::Client::UpdateNeededException
The page on the server has changed since the local file was last updated
WWW::Mediawiki::Client::ConflictsPresentException
An attempt was made to commit a file containing conflicts
WWW::Mediawiki::Client::CorruptedConfigFileException
The configuration file cannot be parsed.
WWW::Mediawiki::Client::ServerPageException
Something went wrong fetching the server page.
Throws:
res The apache response object which was returned in the attempt to fetch the page.
WWW::Mediawiki::Client::ReadOnlyFieldException
Client code tried to set a read-only field.
SEE ALSO
Exception::Class
AUTHORS
Mark Jaroski <mark@geekhive.net>
Author
Bernhard Kaindl <bkaindl@ffii.org>
Inspired the improvement in error handling and reporting.
LICENSE
Copyright (c) 2004 Mark Jaroski.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2011-02-12 WWW::Mediawiki::Client::Exceptions(3pm)