9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
unzip -v gives CRC info of each file in a zip(in my case .EAR) file.
# unzip -v my-application.ear
Archive: my-application.ear
Length Method Size Cmpr Date Time CRC-32 Name
-------- ------ ------- ---- ---------- ----- -------- ----
197981 Defl:N 183708 7%... (1 Reply)
Discussion started by: kchinnam
1 Replies
2. Shell Programming and Scripting
Hi all,
I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies
3. Solaris
hi all,
i am using jar as following :-
jar cvf file_name.txt.jar file_name.txt
but it is file by file
my problem is i have i want to run jar on all files in speaific directory
what can i do for this
this is for the first time
the secand time there was files already ended by... (5 Replies)
Discussion started by: xxmasrawy
5 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I want to extract myfile.war to a folder which is in the same folder with war file.I did this as normal:
jar -xvf myfile.war
But it exploded all the content of file to the same level folder instead of that I was expecting to create a folder called myfile.
This works with tar:
... (0 Replies)
Discussion started by: reis3k
0 Replies
5. Solaris
I want to find the difference between two jar files sitting on a sun box. How do I do this? (3 Replies)
Discussion started by: runnerpaul
3 Replies
6. Linux
Hi All,
I am using crontab which execute a shell script.
In the shell script, I am executing a java program. This Java program requires the jar files.
The cron job file ' cronfile.txt ' contents:
MAILTO="raju_utla@dcis.uohyd.ernet.in"
0-59 * * * *... (3 Replies)
Discussion started by: rajuutla
3 Replies
7. UNIX for Advanced & Expert Users
Hi All,
I am using crontab which execute a shell script.
In the shell script, I am executing a java program. This Java program requires the jar files.
The cron job file ' cronfile.txt ' contents:
MAILTO="raju_utla@dcis.uohyd.ernet.in"
0-59 * * * *... (0 Replies)
Discussion started by: rajuutla
0 Replies
8. Solaris
I am a beginner to Solaris
In Solaris you will find 'jar'. I am used to 'tar' command in Linux.
What makes the differenced between 'jar' and 'tar' ?
Is 'jar' unique to Solaris?
I found a command called 'compress' too in Solaris.
It is not in my Linux. Is it something special to... (1 Reply)
Discussion started by: Angelo
1 Replies
9. UNIX for Dummies Questions & Answers
i'm confused as to what this option does exactly... I see it all the time
in examples...
in my unix text is says the following which is entirely cryptic to me...
tar
f- Specifices the archivefile or tape device. The default tape device is
/dev/rmt/0. If archivefile is "-", then the tar... (1 Reply)
Discussion started by: xyyz
1 Replies
BF_TAR(1) Bogofilter Reference Manual BF_TAR(1)
NAME
bf_tar - shell script to write a tar file of a bogofilter directory to stdout
SYNOPSIS
bf_tar [-r] [-R] bogofilter_directory
DESCRIPTION
bf_tar bundles a bogofilter working directory in tar format and copies it to standard output (your console, or where you redirect it, see
EXAMPLES below).
OPTIONS
The -r option causes bf_tar to remove inactive log files after the archive has been written successfully. The default is to leave log
files.
The -R option causes bf_tar to remove inactive log files before the archive is written. This may reduce chances that the resulting archive
is recoverable should it become damaged. The archive may be smaller though. The default is to leave log files.
EXIT STATUS
The script exits with status code 0 if everything went well, and nonzero if it encountered trouble.
EXAMPLES
o bf_tar ~/.bogofilter > outfile.tar
Writes a standard .tar file containing the essential files from ~/.bogofilter to outfile.tar.
o bf_tar ~/.bogofilter | gzip -9 -c > outfile.tar.gz
Writes a gzipped .tar.gz file containing the essential files from ~/.bogofilter to outfile.tar.gz.
o bf_tar `pwd`/mydirectory > outfile.tar
Prepend $(pwd)/ or `pwd`/ if you want to specify an absolute path instead of a relative path.
NOTES
This script is meant for use with Berkeley DB based bogofilter versions.
This script requires a SUSv2 compliant pax utility.
This script expects a SUSv2 compliant shell. Solaris systems should have the SUNWxcu4 package installed (when bogofilter is configured) so
that /usr/xpg4/bin/sh can be used.
AUTHORS
Matthias Andree
Bogofilter 03/15/2010 BF_TAR(1)