02-09-2012
Wow, thank you both. Gosh, I love the "little pieces" way Unix works. Here's what I'd change:
1. move from plain text to XML as the transfer method (hidden from user) as the default communication method;
2. tell the Java people they've got the right idea but they didn't implement it right - building their apps is composed of lots of pieces (good) that are almost impossible to configure to work correctly directly (bad).
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
How wud I script a particular log file to be compressed at a particular time and to be uncompressed after say 2 hours ?
Im on a aix 3.2 box .
file to be compressed --- > # pwd
# /zssps/sps06/slogfile
Thanks (3 Replies)
Discussion started by: cubicle^dweller
3 Replies
2. Shell Programming and Scripting
i hav 200 logs files in a folder i want compress only the files having size more than 10 mb . please provide a script (1 Reply)
Discussion started by: kingkhankk
1 Replies
3. Shell Programming and Scripting
hi
please help me
i have scripts saved in compress format in sever
Cherrs
naveen.g (1 Reply)
Discussion started by: naveeng.81
1 Replies
4. 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
5. Shell Programming and Scripting
Hello dear Community,
I have a task to wrtie a script which will gzip not zipped files in a directory and itīs subdirectories. I succeeded in gzippung the directory but not the subdirectories:
#/bin/bash
#go to the directory where to zip
cd $1
#Zip unzipped files
for i in `ls | xargs... (2 Replies)
Discussion started by: JamesCarter
2 Replies
6. Shell Programming and Scripting
I'd really appreciate if anyone could assist me with this code
A directory with multiple subdirectories has multiple files which are timestamp'ed.
We need to
- compress files as per timestamp
- save compressed file/s in the respective folder
- delete the source files
============... (2 Replies)
Discussion started by: sreewin7
2 Replies
7. Shell Programming and Scripting
Hi,
I want to write script for the last 5 files to compress.
#!/bin/sh
a= ls -ltr | awk '{print $9}' | head -5 | tail -3
echo `compress $a`
exit 0
but this was telling "not found"
please modify the script if i am wrong. (5 Replies)
Discussion started by: victory
5 Replies
8. Shell Programming and Scripting
#!/bin/bash
#
name=$1
type=$2
number=1
for file in ./**
do
if
then
filenumber=00$number
elif
then
filenumber=0$number
fi
tempname="$name""$filenumber"."$type"
if (4 Replies)
Discussion started by: TheGreatGizmo
4 Replies
9. Shell Programming and Scripting
I need bash script that monitor folders for new pdf files and create xml file for rss feed with newest files on the list. I have some script, but it reports errors.
#!/bin/bash
SYSDIR="/var/www/html/Intranet"
HTTPLINK="http://TYPE.IP.ADDRESS.HERE/pdfs"
FEEDTITLE="Najnoviji dokumenti na... (20 Replies)
Discussion started by: markus1981
20 Replies
10. Shell Programming and Scripting
I have a bash that downloads a list and if that list has data in it then a new main directory is created (with the date) with several subdirectories (example1, example2, example3). My question is in that list there are portion of specific file types (.vcf.gz) - identifier towards the end that have... (0 Replies)
Discussion started by: cmccabe
0 Replies
LEARN ABOUT DEBIAN
makeself
makeself(1) General Commands Manual makeself(1)
NAME
makeself - An utility to generate self-extractable archives.
SYNTAX
makeself [options] archive_dir file_name label [startup_script] [args]
DESCRIPTION
This program is a free (GPL) utility designed to create self-extractable archives from a directory.
OPTIONS
The following options are supported.
-v, --version Prints out the makeself version number and exits.
-h, --help Print out help information.
--gzip Compress using gzip (default if detected).
--bzip2 Compress using bzip2.
--compress Compress using the UNIX 'compress' command.
--nocomp Do not compress the data.
--notemp The archive will create archive_dir in the current directory and uncompress in ./archive_dir.
--copy Upon extraction, the archive will first copy itself to a temporary directory.
--append Append more files to an existing makeself archive. The label and startup scripts will then be ignored.
--current Files will be extracted to the current directory. Implies --notemp.
--header file Specify location of the header script.
--follow Follow the symlinks in the archive.
--nox11 Disable automatic spawn of an xterm if running in X11.
--nowait Do not wait for user input after executing embedded program from an xterm.
--nomd5 Do not create a MD5 checksum for the archive.
--nocrc Do not create a CRC32 checksum for the archive.
--lsm file LSM file describing the package.
AUTHORS
Makeself has been written by Stephane Peter <megastep@megastep.org>. This man page was originally written by Bartosz Fenski <fenio@o2.pl>
for the Debian GNU/Linux distribution (but it may be used by others).
2.1.4 makeself(1)