FcDirScan(3)FcDirScan(3)NAME
FcDirScan - DEPRECATED: formerly used to scan a font directory
SYNOPSIS
cc [ flag... ] file... -lfontconfig [ library... ]
#include <fontconfig.h>
FcBool FcDirScan (FcFontSet *set, FcStrSet *dirs, FcFileCache *cache, FcBlanks *blanks, const FcChar8 *dir, FcBool force);
DESCRIPTION
This function does nothing aside from returning FcFalse. It used to scan an entire directory and add all fonts found to set. If force was
FcTrue, then the directory and all files within it were scanned even if information was present in the per-directory cache file or cache.
Any subdirectories found were added to dirs.
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 FcDirScan(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)
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)
Hi Guys,
I want to know wheather it is possible to delete directory not files,
Example:
In one directory there are 10 dirs and 100 files but my req is to delete only dirs not file
Wheather it is possible ? (13 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)
Hi
Im quite new at this so I will try to explain what need to do and I hope you can give me some pointers & tips.
On this scenario I have 3 users
AriStar
Userno1
Userno2
Userno1 has one directory (with sub dirs), all directories have certain files with different restrictions.
What I... (1 Reply)
Hi there,
im trying to list some dirs/files alphabetically (case sensitive) like in windows:
Folder_1
folder_2
Folder 1
Folder 2
folder 3
A.txt
a 1.txt
a 2.txt
B.txt
...
i tried ls, sort, ls and sort but cant get it to work?
Is this actually possible??
(im using #!/bin/sh) (3 Replies)
Hi,
I have a dir structure that has many many subdirs, I would like to dump all the files from al the sub-dirs into a single directory? Can someone tell me the mv command that would do this please?
before example:
datadir/
datadir/datajan/jan.dat
datadir/datafeb/feb.dat
after example:... (1 Reply)
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 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)
Hi,
The other day i installed a PHP based CMS (modx) on my shell account and noticed that i couldn't delete any of files/dirs it created after.
Also, i noticed that all that stuff is owned by username-www instead of username.
I tried chown, chmod and using a PHP script to do the same wti... (4 Replies)