hi
i have a script
compareFiles()
{
find /tmp/Satya -type f | \
while read filename1
do
echo "----------------------------------------$filename1"
find /tmp/Satya -type f | \
while read filename2
do
if diff $filename1 $filename2
then
echo "Both files... (3 Replies)
Hello,
I'm new to shell scripting so I don't really understand what I'm doing wrong.
The script I'm trying to do saves all the files (*.c) on the current dir to a list and, one by one, copies them to a new one called Backup. The thing is, if there are already other versions of the files I'm... (6 Replies)
I am userB and have a dir
/temp1
This dir is owned by me.
How do I recursively copy files from another users's dir userA?
I need to preserve the original user who created files, original group information, original create date, mod date etc.
I tried
cp -pr /home/userA/* .
... (2 Replies)
Hi everyone,
I am using mac os x 10.6, and I just copied over a project from a machine with 10.5... And I noticed my ls color is very funky in this directory... I found that my permissions are all messed up, and am wondering if there is a way to recursively fix permissions?
This is how they... (3 Replies)
Hi Folks,
I have one curious case. There are list of following files placed in one directory such as... And updated each month.
files.JAN09.csv files.FEB09.csv files.MAR09.csv .....
Now, I need to move a specific files; i.e,
For this month, I need to move only OCT09, NOV09, DEC09,... (1 Reply)
I need to copy the log file dynamically and that should run in loop , which means it should pick what ever the latest file is updated in that directory.
I am able to display the list and copy to directly but i have no idea on how to pick the dynamically updated files.
when i use this code, i... (1 Reply)
I am trying to figure out a way to script copying specific files from one dir structure to another.
I have a dir structure like this:
dira/author 1/book 1/file a.epub
/book 2/file b.epub
/author 2/book 1/file c.epub
/author 3/book 1/file d.epub
/book 2/file... (2 Replies)
Hi I have to write a shell script which copy files from one folder to another.
When I try to do it directly from command prompt
cp filename.dat /outgoing/filename.dat
its working fine.
But when I put the same command inside a shell script say test.sh its not getting copied. and when I check $?... (3 Replies)
Hi,
GetName()
{
if
then
echo " Please enter the name: "
read Name
tempvar=0
while read line
do
if
then
tempvar=`expr $tempvar + 1`
echo $tempvar
... (10 Replies)
I'm writing a Perl script which has its 1st step as to copy files from one directory to another directory. The Source directory has got files with extension, without extension, directories etc. But I want to copy ONLY files with no extension. The files with extensions and directories should not get... (2 Replies)
Discussion started by: jhamaks
2 Replies
LEARN ABOUT REDHAT
fontimport
fontimport(1) teTeX fontimport(1)NAME
fontimport - import fonts into the teTeX directory structure
SYNOPSIS
fontimport [-d] [-f] [-t] [-m MF-mode] path ...
DESCRIPTION
fontimport imports TFM and PK font files into appropriate places in the teTeX directory tree and revises teTeX's filename database accord-
ingly.
Each path may be a font file or a directory, either absolute or relative to the current directory. All subdirectories of a given directory
are searched for font files. Don't specify directory names that are symbolic links, however, since (at least some versions of) find(1)
won't dereference them.
A font's destination is determined by variables in the file texmf.cnf. By default, fontimport will issue a warning to stderr instead of
overwriting an existing font file. The -f flag forces overwriting.
fontimport can cope with font names conforming the 8.3-namescheme, too, so you can import fonts from either a TDS-compliant or MSDOS
installation. emTeX's font libraries are not supported. If you want to import fonts from a font library, you need to unpack it with emTeX's
fontlib utility first.
The full pathname of each font successfully imported is echoed to stdout. When fontimport can not parse a font's name, it will import the
font using a path element of "/unknown/" and issue a warning on stderr.
fontimport tries to guess the mode of PK files. With the -m flag you may specify a fallback mode to be used if the mode can't be guessed.
Options:
-m MF-MODE
default Metafont mode for PK files if autodetection fails
-d delete
delete font files after copying (i.e., move them)
-f force
overwrite existing fonts
-t test
just echo each font's destination (if any); don't move or copy
SEE ALSO allec(1), allneeded(1), fontexport(1), Fontname: Filenames for TeX Fonts (http://tug.org/fontname).
AUTHOR
Thomas Esser (te@informatik.uni-hannover.de)
teTeX 4/99 fontimport(1)