Hi All,
Iam trying to find two kinds of files while ignoring rest of the files in a directory
The files are like below
Files to be found
--------------------
perp45560
oerp4556
Files to be ignored
----------------------
oerp4556123450
oerp4556123470
I was trying the following... (4 Replies)
hi experts(novice people can stay away as it is no child's game),
i am developing a script which works like recycle bin of windows.
the problem i am facing is that when ever i am trying to delete a file which is situated in parent directory or parent's parent directory i am unable to capture... (1 Reply)
hi experts(novice people can stay away as it is no child's game),
i am developing a script which works like recycle bin of windows.
the problem i am facing is that when ever i am trying to delete a file which is situated in parent directory or parent's parent directory i am unable to capture... (5 Replies)
Hi,
I am trying to find the content of file using grep and find command and list only the file names
but i am getting entire file list of files in the directory
find . -exec grep "test" {} \; -ls
Can anyone of you correct this (2 Replies)
I have some files, those are abbreviated (ed,ea, and bi)
company_ed_20100719.txt
company_ea_20100719.txt
company_bi_20100719.txt
I would like to rename these files by replacing
ed with EmployeeDetails
ea with EmployeeAddress
bi with BankInfomration
as
company_... (3 Replies)
Hi,
As a newbie, I'm desperate ro make my shell script work. I'd like a script which checks all the files in a directory, check the file name, if the file name ends with "extracted", store it in a variable, if it has a suffix of ".roi" stores in another variable. I'm going to use these two... (3 Replies)
Hi Guys,
Can any one help me on this,
I want to write unix command to get all .sh unix file name which are refered .sql files in it.
Thanks
Kolipaka (3 Replies)
Need to sort a portion of a file in a Alphabetical Order.
Example : The user adam is not sorted and the user should get sorted. I don't want the complete file to get sorted.
Currently All_users.txt contains the following lines.
##############
# ARS USERS
##############
mike, Mike... (6 Replies)
HI Guys,
I have some 8 files with different name and extensions. I need to check if they are present in a specific folder or not and also want that script to show me which all are not present. I can write if condition for each file but from a developer perspective , i feel that is not a good... (3 Replies)
As part of a bash the below line strips off a numerical prefix from directory 1 to search for in directory 2.
for file in /home/cmccabe/Desktop/comparison/missing/*.txt
do
file1=${file##*/} # Strip off directory
getprefix=${file1%%_*.txt}
... (5 Replies)
Discussion started by: cmccabe
5 Replies
LEARN ABOUT CENTOS
grub2-mkfont
GRUB-MKFONT(3) Library Functions Manual GRUB-MKFONT(3)NAME
grub-mkfont -- Convert common font file formats into the PF2 format.
SYNOPSIS
grub-mkfont [--ascii-bitmaps] [-a | --force-autohint]
[-b | --bold] [-c | --asce=NUM] [-d | --desc=NUM]
[-i | --index=NUM] [-n | --name=NAME] [--no-bitmap]
[--no-hinting] <-o | --output=FILE>
[-r | --range=FROM-TO[,FROM-TO]] [-s | --size=SIZE]
[-v | --verbose] [--width-spec] FONT_FILES
DESCRIPTION
grub-mkfont converts font files from common formats into the PF2 format used by GRUB.
OPTIONS --ascii-bitmaps
Save only bitmaps for ASCII characters.
--force-autohint
Force generation of automatic hinting.
--bold Convert font to bold.
--asce=NUM
Set font ascent to NUM.
--desc=NUM
Set font descent to NUM.
--index=NUM
Select face index NUM.
--name=NAME
Set font family to NAME.
--no-bitmap
Ignore bitmap strikes when loading.
--no-hinting
Disable hinting.
--output=FILE
Save ouptut to FILE. This argument is required.
--range=FROM-TO,FROM-TO
Set the font ranges to each pair of FROM,TO.
--size=SIZE
Set font size to SIZE.
--verbose
Print verbose messages.
--width-spec
Create a width summary file.
FONT_FILES
The input files to be converted.
SEE ALSO
info grub
Wed Feb 26 2014 GRUB-MKFONT(3)