03-11-2013
Yeah, that would work.
Another option would be find, if you have the -maxdepth option. What's your system?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I want to import an Oracle database file on my fresh DB, bought before successfully with exp command.
But is it possible to import some tables from the dmp file, because they are too large and it's so long !?
I didn't find any option in imp command to make exception on certain tables...... (1 Reply)
Discussion started by: madmat
1 Replies
2. Solaris
Hello.
I was trying to installe oracle 10g on solaris t0 x86 and got few exception? Could you please suggest, what might be going wrong?
$ ls -l
total 32
drwxr-xr-x 9 oracle dba 512 Nov 21 03:50 doc
drwxr-xr-x 5 oracle dba 512 Nov 21 03:50 install
drwxr-xr-x 2... (5 Replies)
Discussion started by: panchpan
5 Replies
3. UNIX for Advanced & Expert Users
Hi,
I want to remove a directory recursively except the inside directories calles .SYNC (designsync dirs) I am looking for something like:
\rm -rf < find . * | grep -v .SYNC
The find works ok but I do not know how to redirect it.
Please help.
Regards,
Ziv:rolleyes: (1 Reply)
Discussion started by: zivsegal
1 Replies
4. Shell Programming and Scripting
Hi,
I want to remove a directory recursively except the inside directories calles .SYNC (designsync dirs) I am looking for something like:
\rm -rf < find . * | grep -v .SYNC
The find works ok but I do not know how to redirect it.
Please help.
Regards,
Ziv (3 Replies)
Discussion started by: zivsegal
3 Replies
5. UNIX for Dummies Questions & Answers
I need to change instances of uppercase to lowercase. The change occurs only when all of the characters are capital letters.
For instance, if the following was contained in the file: THE BRIGHT DAY
it should be: the bright day
However: The BRIGHT day
should remain the same.
Also, if it were... (3 Replies)
Discussion started by: kcgb20
3 Replies
6. UNIX for Advanced & Expert Users
Hi,
I call a java program from a cron job and i need to display the exceptions or Errors thrown by java(basically stacktrace) in the unix/linux console in the red color.Is it possible to do that? If so, pls. give me some pointers how to do that.
eg:
Exception in thread "main"... (0 Replies)
Discussion started by: ramse8pc
0 Replies
7. UNIX for Dummies Questions & Answers
So I'm currently developing an automated test system and I'm verifying my results by running a set of baselined data through and comparing the output (which is in a txt file) to a baseline results file. So of course I'm just using the diff command. Unfortunately each time I run the test there are 2... (3 Replies)
Discussion started by: Smitty0881
3 Replies
8. Programming
Hi everyone,
I am using AIX 6.1. There are exception codes defined in header file
sys/m_except.hAlso, in the documentation (in "Understanding exception handling") it says:
If no exception handler is currently defined when an exception occurs, typically one of two things happens.
If... (0 Replies)
Discussion started by: manolo123
0 Replies
9. IP Networking
hello,
I am getting SIGUP Exceptions during an execution of a procedure. Below is the log:
Type: SignalException Message: SIGHUP Backtrace: 12:38 PM Action threw an exception: SIGHUP 12:38 PM Action threw an exception: SIGHUP
E, ERROR -- : Type: SignalException Message: SIGHUP... (1 Reply)
Discussion started by: Deepthi.Prakash
1 Replies
10. Shell Programming and Scripting
I am totaly new to RegEx, but I need to extract emails with RegEx from text file
Some difficulties:
1. “@”symbol has been substituted for “ at ”,"AT" or "(at)"
2. I do not need any email with domain "myoldcompany"
I found that with these I can found any emails:
"^+@+\.+$"
How to do... (1 Reply)
Discussion started by: AIX_30
1 Replies
LEARN ABOUT DEBIAN
pnmtopalm
pnmtopalm(1) General Commands Manual pnmtopalm(1)
NAME
pnmtopalm - convert a portable anymap into a Palm pixmap
SYNOPSIS
pnmtopalm [-verbose] [-depth N] [-maxdepth N] [-colormap] [-transparent color] [-offset]
[-rle-compression|-scanline-compression] [pnmfile]
DESCRIPTION
Reads a PNM image as input, from stdin or pnmfile. Produces a Palm pixmap as output.
Palm pixmap files are either greyscale files 1, 2, or 4 bits wide, or color files 8 bits wide, so pnmtopalm automatically scales colors to
have an appropriate maxval, unless you specify a depth or max depth. Input files must have an appropriate number and set of colors for the
selected output constraints. This often means that you should run the PNM image through ppmquant before you pass it to pnmtopalm. Netpbm
comes with several colormap files you can use with ppmquant for this purpose. They are palmgray2.map (4 shades of gray for a depth of 2),
palmgray4.map (16 shades of gray for a depth of 4), and palmcolor8.map (232 colors in default Palm colormap).
OPTIONS
-verbose
Display the format of the output file.
-depth N
Produce a file of depth N, where N must be either 1, 2, 4, 8, or 16. Any depth greater than 1 will produce a version 1 or 2 bitmap.
Because the default Palm 8-bit colormap is not grayscale, if the input is a grayscale or monochrome pixmap, the output will never be
more than 4 bits deep, regardless of the specified depth. Note that 8-bit color works only in PalmOS 3.5 (and higher), and 16-bit
direct color works only in PalmOS 4.0 (and higher). However, the 16-bit direct color format is also compatible with the various
PalmOS 3.x versions used in the Handspring Visor, so these images may also work in that device.
-maxdepth N
Produce a file of minimal depth, but in any case less than N bits wide. If you specify 16-bit, the output will always be 16-bit
direct color.
-offset
Fill in the nextDepthOffset field in the file header, to provide for multiple renditions of the pixmap in the same file.
-colormap
Build a custom colormap and include it in the output file. This is not recommended by Palm, for efficiency reasons. Otherwise,
pnmtopalm uses the default Palm colormap for color output.
-transparent color
Marks one particular color as fully transparent. The format to specify the color is either (when for example orange) "1.0,0.5,0.0",
where the values are floats between zero and one, or with the syntax "#RGB", "#RRGGBB" or "#RRRRGGGGBBBB" where R, G and B are hexa-
decimal numbers. This also makes the output bitmap a version 2 bitmap. Transparency works only on Palm OS 3.5 and higher.
-rle-compression
Specifies that the output Palm bitmap will use the Palm RLE compression scheme, and will be a version 2 bitmap. RLE compression
works only with Palm OS 3.5 and higher.
-scanline-compression
Specifies that the output Palm bitmap will use the Palm scanline compression scheme, and will be a version 2 bitmap. Scanline com-
pression works only in Palm OS 2.0 and higher.
SEE ALSO
palmtopnm(1), ppmquant(1), pnm(5)
NOTES
An additional compression format, packbits, was added with PalmOS 4.0. This package should be updated to be able to generate that.
Palm pixmaps may contains multiple renditions of the same pixmap, in different depths. To construct an N-multiple-rendition Palm pixmap
with pnmtopalm, first construct renditions 1 through N-1 using the -offset option, then construct the Nth pixmap without the -offset
option. Then concatenate the individual renditions together in a single file using cat.
AUTHORS
This program was originally written as ppmtoTbmp.c, by Ian Goldberg and George Caswell. It was completely re-written by Bill Janssen to
add color, compression, and transparency function.
Copyright 1995-2001 by Ian Goldberg, George Caswell, and Bill Janssen.
7 December 2000 pnmtopalm(1)