11-29-2011
Quote:
Originally Posted by
fretagi
LUDWIG:
You are right the issue is september only:
I am going to test your script , although I did not understand the "gzip -9" section. can you explain? if its possible
If you take a moment to look at the
gzip manual page, the
-9 option (aka
--best) is for maximum compression.
This User Gave Thanks to m.d.ludwig For This Post:
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Please debug this shell script for me.. Basically the idea is to run the script, based on the command to move some trace files to a separate directory and I am getting the error. Only the COMMAND that has rm {} works and I basically want to use it for the fourth one. Please try for the 2nd, 3rd and... (4 Replies)
Discussion started by: ST2000
4 Replies
2. UNIX for Dummies Questions & Answers
Anyone could give me an example of scrip to move blank files found into a dir?
Thanks,
Leandro Takeda (3 Replies)
Discussion started by: letakeda
3 Replies
3. Shell Programming and Scripting
Hi folks,
I'm new here and appreciate greatly any help.
I have a bunch of files that need be moved and renamed. Fortunately, they are all in sequence...
Present filename and path: /.catalog1/t76038_842-01
Move to: /.catalog1/76038-01
So, we need to drop the... (8 Replies)
Discussion started by: axslinger
8 Replies
4. Shell Programming and Scripting
Hi ,
I need a simple shell script to move the files from one directory to another directory after every 1 hour..!!! ?? (1 Reply)
Discussion started by: SARAL SAXENA
1 Replies
5. Shell Programming and Scripting
Hi
Please can you help me in writing a script to find files on a specific directory, and of extension "tap" but only of the month of september, gzip and move them to another directory.
Your help will be appreciated. (4 Replies)
Discussion started by: fretagi
4 Replies
6. Shell Programming and Scripting
hi,
I have a lot of files named xxxxx__AA.txt, xxxxx__BB.txt, xxxxx__CC.txt and I would like to move xxxxx__AA.txt in AA directory, xxxxx__BB.txt in BB etc. Could you help me do it in bash script? (5 Replies)
Discussion started by: corfuitl
5 Replies
7. Shell Programming and Scripting
Hi All,
I am new to Linux/Scripting and need some assistance in coming up with a script that can move certain amount of files from one directory to other every seconds.
Usercase: We have around 100k files in tmp directory on my server which needs to be moved to another folder to get... (3 Replies)
Discussion started by: Raj1184
3 Replies
jtops(1) User Commands jtops(1)
NAME
jtops - postscript filter for printing Japanese characters on Sun Laser Writer or Japanese postscript printer
SYNOPSIS
jtops [-12rRjJvwWmg] [-ln] [-s size] [-f font] [filename...]
AVAILABILITY
SUNWjfpu
DESCRIPTION
jtops is a filter for converting Japanese characters to Japanese postscript output which uses Kanji font on a printer side. Input from
stdin is converted and sent to stdout.
If there is no filename, the standard input is read.
By default, it forms font size 10 and 66 lines per page for the portrait form.
Before checking options specified in command lines, it interprets the strings in the JTOPS environment variable as options.
OPTIONS
-1 1 column output (by default).
-2 2 columns output.
-r Rotate for the landscape form.
-R Output in the portrait form (by default).
-v Use Kanji-fonts of printer (for the Japanese PostScript printer by default).
-l n Specify the number of lines per page as n (by default 66).
-m Use Ming style as Japanese fonts (by default).
-g Use Gothic style as Japanese fonts. As alphabetic fonts use Courier-Bold style unless -f option is specified.
-f font Specify alphabetic fonts in font. By default, use Courier style without -g option, otherwise Courier-Bold style.
-s size Set font size to size. When the fontsize is specified with -s, the lines per page are calculated as follows:
portrait: 720 / (fontsize + 1)
landscape: 550 / (fontsize + 1)
-j Use half size alphanumeric of Japanese fonts as alphanumeric fonts.
-J Use Courier as alphanumeric fonts( by default).
-W Control the ratio of alphanumeric character and Japanese to be 1:2, except changeable width of alphanumeric fonts( by default).
-w Not control the ratio of alphanumeric character and Japanese.
EXAMPLES
Example 1:
example% jtops -j -l40 -s11 filename | lpr
example% pr -l120 filename | jtops -l120 -s5 | lpr
example% jtops -2r filename | lpr
ENVIRONMENT VARIABLES
The locale has to be set to ja, ja_JP.eucJP, ja_JP.PCK, or ja_JP.UTF-8 in your environment.
SEE ALSO
expand(1), lp(1), pr(1), lpr(1B), lpfilter(1M)
NOTES
jtops supports the following character sets;
o JIS X 0201 figure character set for Roman
o JIS X 0201 figure character set for Katakana
o JIS X 0208
SunOS 5.10 13 Sep 2002 jtops(1)