hello i'm trying to figure out how to tack the directory name onto the file name when i do the ls -ltrR command please?
---------------------------------------------------------------------------------
I do the following command ls -ltrR > ls.out
and get the following output:... (5 Replies)
Hi,
I have a question on bash. Basically I would like to print a file name using bash. I am actually trying to grep a particular character in sequential files.
I have alot files such that a.txt, b.txt,c.txt...etc.
If I found a certain character, I would print that particular filename.
I... (5 Replies)
hi all,
i want to print all the files in a directory.
between a time stamp
like $8>=07:00 and $8<=09:00.
please give me commands not only in awk by any other commands also.
Thanks. (3 Replies)
#!/bin/ksh
for files in `ls *.gz`
do
gunzip -c $files | awk -v s=$files -F\" '{print s","$6}'
done
I have tried FILENAME parameter but it did not work please help. (1 Reply)
I'm trying to clean up my samba share and need to print the found file or print the path of the image it tried to searched for. So far I have this but can't seem to get the logic right. Can anyone help point me in the right direction?
for FILE in `cat list`; do
if ;
then
... (1 Reply)
I want to move the files in a dir to different dirs based on their file names.
Ex: i have 4 different files with name -
CTS_NONE_10476031_MRL_PFT20081215a.txt
CTS_NONE_10633009_MRL_PFT20091020a.txt
CTS_NONE_10345673_MRL_PFT20081215a.txt
CTS_NONE_10872456_MRL_PFT20091020a.txt
and the 1st... (2 Replies)
I want to move the files in a dir to different dirs based on their file names.
Ex: i have 4 different files with name -
CTS_NONE_10476031_MRL_PFT20081215a.txt
CTS_NONE_10633009_MRL_PFT20091020a.txt
CTS_NONE_10345673_MRL_PFT20081215a.txt
CTS_NONE_10872456_MRL_PFT20091020a.txt
and the 1st... (4 Replies)
Well since Windows always laments over some of my files having a too long "path+filename" and it gets in the way of copying complete directory structures I would love to have a DOS Script that helps me with finding those.
I already tried DCSoft Long Filename Finder but that is neither DOS based... (3 Replies)
Running below command , but unable to print the filename , is there way to print filename/dirname using -print option
find . -type f -exec aclput -i fileacl.template {} \; (5 Replies)
buddies,
my requirement would be as follows,
I have a file called test.txt and content of it would be
yahoo
gmail
hotmail
and i want to search a file name called "yahoo.html" (first line of test.txt) and then "gmail.html" and then "hotmail.html" in a /home/test dir.
Any idea... (8 Replies)
Discussion started by: natraj005
8 Replies
LEARN ABOUT HPUX
pbmtextps
pbmtextps(1) General Commands Manual pbmtextps(1)NAME
pbmtextps - render text into a bitmap via postscript
SYNOPSIS
pbmtextps [-font fontfile] [-fontsize fontsize] [-resolution resolution] [-stroke strokesize] [-verbose [text]
DESCRIPTION
pbmtextps takes a single line of text from the command line and renders it into a PBM image.
The image is cropped at the top and the right. It is not cropped at the left or bottom so that the text begins at the same position rela-
tive to the origin. You can use pnmcrop to crop it all the way.
OPTIONS -font By default, pbmtextps uses TimesRoman. You can specify the font to use with the -font option. This is the name of any valid post-
script font which is installed on your system.
-fontsize
Size of font in points. See the -resolution option for information on how to interpret this size.
Default is 24 points.
-resolution
Resolution in dots per inch of distance measurements pertaining to generation of the image. PBM images don't have any inherent reso-
lution, so a distance such as "1 inch" doesn't mean anything unless you separately specify what resolution you're talking about.
That's what this option does.
In particular, the meaning of the font size is determined by this resolution. If the font size is 24 points and the resolution is
150 dpi, then the font size is 50 pixels.
Default is 150 dpi.
-stroke
Width of line to use for stroke font. There is no default stroke width because the letters are solid by default.
USAGE
See pbmtext for usage examples.
SEE ALSO pbmtext(1), pnmcut(1), pnmcrop(1), pnmcomp(1), ppmchange(1), pnmrotate(1), ppmlabel(1), pbm(5)AUTHOR
Copyright (C) 2002 by James McCann
02 January 2003 pbmtextps(1)