02-02-2009
Need help to compress
People i have files.arc i need to compress one by one...but they need to have the same date for example
jan 30 1234.arc
jan 30 12334.arc
jan 30 rejrne.arc
jan 30 e423e4.arc
jan 30 afdhnfhd.arc
jan 31 aresdfds.arc
I need to compres the jan 30 .arc only
thank you very much
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I need to compress and tar a couple files in a directory, but I also want the original files unchanged, ie
if I compress a1.cpp , then a1.cpp becomes a1.cpp.z,
but what I want after running the compress utility is to have both
a1.cpp as it is and
a1.cpp.z
and then tar a1.cpp.z to an... (4 Replies)
Discussion started by: muru
4 Replies
2. Shell Programming and Scripting
I'm trying to figure out how I can get an equivalent output to a text file such as if I use
gunzip -l filename
in that gunzip will output the previous file size and the compressed size and the ratio...
is there a way to achieve this with compress and zip?
i am very new at shell... (3 Replies)
Discussion started by: nortypig
3 Replies
3. UNIX for Dummies Questions & Answers
I want to move and compress a big export file.
Like mv file_exp /filesystem/file_exp |compress
The file system is too small to compress and move with 2 steps.
What is the best command for me. I'm running solaris.
:confused: (1 Reply)
Discussion started by: simquest
1 Replies
4. 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
5. UNIX for Dummies Questions & Answers
compress /var/opt/l2/amer/art2/USFINUM0200_.CSV
compress /var/opt/l2/amer/art2/USFINUM200_.CSV
compress /var/opt/l2/amer/art2/USFINUM020_.CSV
compress /var/opt/l2/amer/art2/USFINUM20_.CSV
Is there a way to shorten this or write it in a script. The file to be compressed will be USFINUM but... (5 Replies)
Discussion started by: indira
5 Replies
6. UNIX for Advanced & Expert Users
hi,
I need to compress a couple files in a directory.i tried using
tar cvf filename1 filename2
but i am not able to open tar file.
please suggest how to compress more than one file in to same file
thanks in advance (2 Replies)
Discussion started by: prasee
2 Replies
7. Shell Programming and Scripting
Hi Friends,
I have a directory under which 10 more directories are there.
In each 10 directories there are several files.
I want to do FTP. But in FTP we cannt Transfer the main directory.
each Time we have to go to the respective directry and then we have to to FTP.
For this instance I... (9 Replies)
Discussion started by: deep_kol
9 Replies
8. UNIX for Dummies Questions & Answers
Duplicate threads merged jmc
Hi,
I have a script wherein I want to use gzip instead of compress.
# cat dly_appsfiles_bkp.ksh
#
# dly_appsfiles_bkp.ksh
#
date_stamp=`date +%m%d%y`
base_dir=/u05/gld1
sub_dir=apps
bkp_dir=/u00/backup/GLD1/APPS... (5 Replies)
Discussion started by: narayanv
5 Replies
9. 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
10. Web Development
Hi all,
Someone please help with a script that will compress a directory for backed up:
home/main/directory2Bcompressed/
home/main/directory2Bcompressed_date.zip
Then all the files in the directory are to be deleted right afterwards, emptied out for new files to come in:
... (6 Replies)
Discussion started by: MrDude
6 Replies
LEARN ABOUT HPUX
xfillarc
XFillArc() XFillArc()
Name
XFillArc - fill an arc.
Synopsis
XFillArc(display, drawable, gc, x, y, width, height, angle1, angle2)
Display *display;
Drawable drawable;
GC gc;
int x, y;
unsigned int width, height;
int angle1, angle2;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
drawable Specifies the drawable.
gc Specifies the graphics context.
x Specify the x and y coordinates of the upper-left corner of the bounding box containing the arc, relative to the origin of the
y drawable.
width Specify the width and height in pixels. These are the major and minor axes of the arc.
height
angle1 Specifies the start of the arc relative to the three-o'clock position from the center. Angles are specified in 64ths of degrees.
angle2 Specifies the path and extent of the arc relative to the start of the arc. Angles are specified in 64ths of degrees.
Description
XFillArc() draws a filled arc. The x, y, width, and height arguments specify the bounding box for the arc. See XDrawArc() for the
description of how this bounding box is used to compute the arc. Some, but not all, of the pixels drawn with XDrawArc() will be drawn by
XFillArc() with the same arguments. See XFillRectangle() for an example of the differences in pixels drawn by the draw and fill routines.
The arc forms one boundary of the area to be filled. The other boundary is determined by the arc_mode in the GC. If the arc_mode in the
GC is ArcChord, the single line segment joining the endpoints of the arc is used. If ArcPieSlice, the two line segments joining the end-
points of the arc with the center point are used.
XFillArc() uses these graphics context components: function, plane_mask, fill_style, arc_mode, subwindow_mode, clip_x_origin, clip_y_ori-
gin, and clip_mask. This function also uses these graphics context mode-dependent components: foreground, background, tile, stipple,
ts_x_origin, and ts_y_
origin.
For more information, see Volume One, Chapter 6, Drawing Graphics and Text, and Chapter 5, The Graphics Context.
Errors
BadDrawable
BadGC
BadMatch
See Also
XClearArea(), XClearWindow(), XCopyArea(), XCopyPlane(), XDraw, XDrawArc(), XDrawArcs(), XDrawFilled(), XDrawLine(), XDrawLines(), XDraw-
Point(), XDrawPoints(), XDrawRectangle(), XDrawRectangles(), XDrawSegments(), XFillArcs(), XFillPolygon(), XFillRectangle(), XFillRectan-
gles().
Xlib - Drawing Primitives XFillArc()