03-06-2008
Just make sure you put quotes around the variable when you reference it.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
can any one tell me how to know the free space in perticular folder in unix.
size in bytes/MB.
thanks in adv.
spandu (7 Replies)
Discussion started by: spandu
7 Replies
2. SCO
We have SCO Unix (realease 5.0.5b),
Please advise which files can be safely deleted on the system root folder / to create space? These are mainly spool/message/history etc log files. Where they located and can they be deleted using rm?
The server has been operational for the past 4 years.
... (17 Replies)
Discussion started by: othman
17 Replies
3. Shell Programming and Scripting
Hello All,
I am getting error while passing a folder name that has space to the cmd line argument.
sh log_delete2.sh "/home/kumarpua/TESTARTIFACTS/atf-chix/ATF-subversion-dev/ssenglogs/A RM"
log_delete2.sh: line 17: cd: /home/kumarpua/TESTARTIFACTS/atf-chix/ATF-subversion-dev/ssenglogs/A:... (3 Replies)
Discussion started by: pulkit
3 Replies
4. UNIX for Dummies Questions & Answers
Hi , I was wondering if anyone knows any great ways for creating space in your Root Folder.
My root folder was created with only 247.7MB & I found out that its now full & I was initially wondering how important the "thumbnails Folder" was & if it was alright to delete their contenses as I noticed... (2 Replies)
Discussion started by: Browser
2 Replies
5. Shell Programming and Scripting
A solaris server with SAMBA share folder. The PC users created many folders with space on it, I want to find them out, but not list its subfolders.
For example, I have below folders
Copy of ABC/efg/xy
sa/Test again/xyt
If I use command: find . -type d |grep " " I will list 6 folders, but... (2 Replies)
Discussion started by: rdcwayx
2 Replies
6. Solaris
Hello,
I've got a process failure which says it may be caused by insufficient space in the directory. Is there a way I can tell what the maximum allowable size is?
I've done df -k and there are no file systems over 45% so if it is a space problem it's confined to the sub directory. (4 Replies)
Discussion started by: Grueben
4 Replies
7. UNIX for Dummies Questions & Answers
Please help ,
I am in an urgent need, Please help
nawk '{for(i=1;i<=NF;i++){printf("%s\n",$i)}}' filename | sed 's/.*com//' | nawk '/pdf/ {printf("F:%s\n",$0)}' | while read line; do mv $line /images/; done
the above script works for without spaces but,My path is also having some space... (3 Replies)
Discussion started by: umapearl
3 Replies
8. HP-UX
Hi,
What are the correct parameters to list folders size in MBs under a particular directory in HP-UX ?
I know and commands but cannot get the output of folder sizes in MBs. (4 Replies)
Discussion started by: mohtashims
4 Replies
9. Shell Programming and Scripting
I have a folder that contains many sub folders and files. This tree has to be backed up to an archive system. According to the tech support, one of the archives is failing to back up due to the possibility of trailing spaces on file and folder names. Therefore, I would like to have a script... (16 Replies)
Discussion started by: vipertech
16 Replies
10. Shell Programming and Scripting
I want to move a folder with spaces from one folder to another.
I have two folders like this,
1).RT_032-222 -4444-01/ 2). RT_032-555 -7777-01/
I want to move files from 2 to 1 through shell script.Here I want to assign this like a user defined variable like as Source branch... (2 Replies)
Discussion started by: kannansoft1985
2 Replies
LEARN ABOUT DEBIAN
coverpg
make.coverpg(1) mgetty+sendfax manual make.coverpg(1)
NAME
make.coverpg - create a fax coverpg on stdout
SYNOPSIS
make.coverpg [options] <pages> <sender-ID> <sender-NAME> <receiver-ID> <receiver-NAME> <date> <time>
DESCRIPTION
make.coverpg is called from faxspool(1) to generate a cover page for the just-processed fax. It has to create a proper G3 file (e.g. via
pbm2g3(1) or hp2hig3(1) or ghostscript(1)) and output that on stdout. If the program doesn't exist, or can't be executed, the fax simply
won't get a coverpage (so, if you don't want a fax coverpage, do not install it...)
make.coverpg can put anything it wants on the page, but note that there are certain legal requirements in certain countries about the con-
tents that *have* to be on the cover page, for example, the fax phone number of the sender and the recepient, the number of pages, or simi-
lar things.
make.coverpg gets the informations about the fax to be sent from the command line, in the order listed above.
If the environment variable normal_res is set to something non-empty, faxspool requests that make.coverpg creates a cover page in normal
resolution (98 lpi). Default is fine resolution (196 lpi).
NO make.coverpg program is installed by default, since everyones needs differ too wildly.
Some sample coverpage programs are provided in the mgetty source tree, in the samples/ subdirectory (coverpg.pbm shows how to do it with
"pbmtext|pbm2g3", coverpg.ps shows how I do it with ghostscript).
In this directory, you can also find two shell scripts (fax and faxmemo) that will take advantage of one more esoteric feature of my cover-
page programs: if called with the option "-m <memo-file>", the sample programs will put a text file "<memo-file>" on the cover page (used
for short notes or such). To make use of it, faxspool is called with the option '-C "make.coverpg -m <memo-file>"' (the double quotes are
needed!).
OPTIONS
none
Example
A five-page fax sent from me to my second number could result in a call like this:
make.coverpg 5 "+49-89-3243328" "Gert Doering" "3244814" "myself" "Sep 15 94" "22:10:00"
FILES
/usr/lib/mgetty-fax/make.coverpg
the program itself
SEE ALSO
faxspool(1), pbm2g3(1), ghostscript(1)
AUTHORS
The idea behind make.coverpg is Copyright (C) 1993 by Gert Doering, <gert@greenie.muc.de>, the implementation will most likely have
yours...
greenie 27 Oct 93 make.coverpg(1)