FcDirSave(3)FcDirSave(3)NAME
FcDirSave - DEPRECATED: formerly used to save a directory cache
SYNOPSIS
cc [ flag... ] file... -lfontconfig [ library... ]
#include <fontconfig.h>
FcBool FcDirSave (FcFontSet *set, FcStrSet *dirs, const FcChar8 *dir);
DESCRIPTION
This function now does nothing aside from returning FcFalse. It used to creates the per-directory cache file for dir and populates it with
the fonts in set and subdirectories in dirs. All of this functionality is now automatically managed by FcDirCacheLoad and FcDirCacheRead.
VERSION
Fontconfig version 2.5.0
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWfontconfig |
+-----------------------------+-----------------------------+
|Interface Stability |Volatile |
+-----------------------------+-----------------------------+
|MT-Level |See XInitThreads(3X11) |
+-----------------------------+-----------------------------+
13 November 2007 FcDirSave(3)
Check Out this Related Man Page
FcDirCacheLoadFile(3)FcDirCacheLoadFile(3)NAME
FcDirCacheLoadFile - load a cache file
SYNOPSIS
cc [ flag... ] file... -lfontconfig [ library... ]
#include <fontconfig.h>
FcCache * FcDirCacheLoadFile (const FcChar8 *cache_file, struct stat *file_stat);
DESCRIPTION
This function loads a directory cache from cache_file. If file_stat is non-NULL, it will be filled with the results of stat(2) on the cache
file.
VERSION
Fontconfig version 2.5.0
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWfontconfig |
+-----------------------------+-----------------------------+
|Interface Stability |Volatile |
+-----------------------------+-----------------------------+
|MT-Level |See XInitThreads(3X11) |
+-----------------------------+-----------------------------+
13 November 2007 FcDirCacheLoadFile(3)
I need to print to file , a listing of all files below a certain directory.
Example: I need to print to file a listing of all files below the etc dir (including the subdirectories) with their full path. Any ideas on how to do this with one command. Or is this something I need to do on all... (4 Replies)
I encountered some complicated problems course studies.
take this for example:
under /home/data/stockdata
we have 1999,2000,2001,.......2004 these sub-dirs
and, each sub-dir has its mothly(for Jan~Dec) transaction records,
i.e. they are all named "foo.txt", like this:
Date ... (2 Replies)
Hi,
Does anyone know if its possible to add something like an end of line like c or java in unix?
dirs=/home/nosnam
var=''
for dir in $dirs
do
listDirs=`ls -d1 $dir/*`
for eachList in $listDirs
do
listRepos=`du -ks $eachList | awk '{ x+=$1 }; END { print x... (4 Replies)
Hi
I am logged in as sudo root , I have large number of sub dirs under directories , there are around 65535 dirs, want to remove all of them,
rm -rf *, asks me
examine files in directory STORE (yes/no)?
for every dir ....
please suggest a solution.
Thanks,
Rajesh (5 Replies)
Hello.
I have a dir of 1500+ dir. In these dirs is a file host, with a tag <x_tag>.
I need to :
1. grep for all dir that contain this host file that contain <x_tag>
2. print a list of these host files containing <x_tag>
is this better to egrep this? (5 Replies)
When I run this, I am getting the below error. Why? Pls help me
#!/bin/ksh
echo Hello World
dirs="not_using_0"
for entry in *; do
&& dirs="$dirs $entry"
done
dirarray=($dirs)
index=1
while }" ] ; do
echo "${index}: ${dirarray}"
index=`expr $index + 1`
done
while ; do
echo -n... (1 Reply)
#!/bin/bash
declare -a dirs
index=0
for dir in `ls -d */`
do
dirs=$dir
echo $index. $dir
index=`expr $index + 1`
done
Its giving me distorted output:
c.sh: dirs=1/: No such file or directory
0. 1/
c.sh: dirs=11844/: No such file or directory
1. 11844/
c.sh: dirs=12819/: No such... (3 Replies)
I would like to loop through a set of directories, performing operation(s) on each one. The basic script** is
dirs=`find . -name .svn -print`
for f in $dirs; do
echo "Processing $f directory .."
done
Fine and dandy, but here is the problem: the find expression must complete... (2 Replies)
I wrote the following Makefile:
dirs := a b c d
files := $(foreach dir,$(dirs),$(wildcard $(dir)/*))
.PHONY: all
all:
touch $(files)
The first two lines are taken from GNU make tutorial, Section 8.5 The foreach Function. I would expect the recipe
touch $(files)
to be... (2 Replies)
I am trying to get a listing of ALL directories only under /export (as an example). I can get all the dirs directly under /export but I need any sub dirs under those dirs. I've looked (here and google) but can not find anything that works (4 Replies)
Hi Experts,
I want to find all the dirs , subdirs on the sever which start with "sr".
Can anyone let me know command for the same.
find . -type d -name sr* I tried this but it is not working.
Thanks,
Ajay (4 Replies)
Hello,
I need to replace xml version='1.1' with xml version='1.0' in all xml files under /app/jenkins/ in all dir and sub dirs in my CentOS VM, I tried below command but it didn't help, looks like I'm missing a character somewhere.
grep -rl "xml version='1.1'" . | xargs sed -i 's/"xml... (2 Replies)
I would like to iterate over `dirs`in a script, but the script will never show more than one (current) folder
#! /bin/bash
for i in `dirs`
do
echo ${i}
done
echo ++++++++++++++++++
for i in $( dirs -p )
do
echo ${i}
done
echo ------------------
dirscontent=`dirs`
echo... (5 Replies)