ZealOS/docs/Doc/FileUtils.DD.html

58 lines
7.2 KiB
HTML
Raw Normal View History

2021-07-03 05:07:57 +01:00
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=US-ASCII">
<meta name="generator" content="ZealOS V0.13">
2021-07-03 05:07:57 +01:00
<style type="text/css">
body {background-color:#fef1f0;}
.cF0{color:#000000;background-color:#fef1f0;}
.cF1{color:#0148a4;background-color:#fef1f0;}
.cF2{color:#3b7901;background-color:#fef1f0;}
.cF3{color:#057c7e;background-color:#fef1f0;}
.cF4{color:#bb2020;background-color:#fef1f0;}
.cF5{color:#9e42ae;background-color:#fef1f0;}
.cF6{color:#b57901;background-color:#fef1f0;}
.cF7{color:#b2b6af;background-color:#fef1f0;}
.cF8{color:#555753;background-color:#fef1f0;}
.cF9{color:#678fbb;background-color:#fef1f0;}
.cFA{color:#82bc49;background-color:#fef1f0;}
.cFB{color:#0097a2;background-color:#fef1f0;}
.cFC{color:#e26a6a;background-color:#fef1f0;}
.cFD{color:#c671bc;background-color:#fef1f0;}
.cFE{color:#c7ab00;background-color:#fef1f0;}
.cFF{color:#fef1f0;background-color:#fef1f0;}
2021-07-03 05:07:57 +01:00
</style>
</head>
<body>
<pre style="font-family:monospace;font-size:12pt">
<a name="l1"></a><span class=cF5> File Utils</span><span class=cF0>
2021-07-03 05:07:57 +01:00
<a name="l2"></a>
<a name="l3"></a>File util </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/BlkDev/DiskFind.CC.html#l32"><span class=cF4>FilesFind</span></a><span class=cF0>() wildcard mask consists of a single base dir with multiple file masks separated by </span><span class=cF2>';'</span><span class=cF0>. The </span><span class=cF2>'*'</span><span class=cF0> and </span><span class=cF2>'?
<a name="l4"></a>'</span><span class=cF0> wildcard chars are accepted. The </span><span class=cF2>'~'</span><span class=cF0> is your home directory and </span><span class=cF2>'!'</span><span class=cF0> indicates an exclusion mask.
2021-07-03 05:07:57 +01:00
<a name="l5"></a>
<a name="l6"></a>
<a name="l7"></a></span><span class=cF2>&quot;/Kernel/*&quot;</span><span class=cF0> BaseDir: </span><span class=cF2>/Kernel</span><span class=cF0> Mask: </span><span class=cF2>*</span><span class=cF0>
<a name="l8"></a></span><span class=cF2>&quot;/Demo/*.BMP*;*.GR*&quot;</span><span class=cF0> BaseDir: </span><span class=cF2>/Demo</span><span class=cF0> Mask: </span><span class=cF2>*.BMP*</span><span class=cF0> | </span><span class=cF2>*.GR*</span><span class=cF0>
<a name="l9"></a></span><span class=cF2>&quot;/*.DD*;!*/Bible*&quot;</span><span class=cF0> BaseDir: </span><span class=cF2>Root</span><span class=cF0> Mask: </span><span class=cF2>*.DD*</span><span class=cF0> but not </span><span class=cF2>*/Bible*</span><span class=cF0>
2021-07-03 05:07:57 +01:00
<a name="l10"></a>
<a name="l11"></a>See </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/BlkDev/DiskStrA.CC.html#l38"><span class=cF4>FilesFindMatch</span></a><span class=cF0>().
2021-07-03 05:07:57 +01:00
<a name="l12"></a>
<a name="l13"></a>Flags are either text or int values.
<a name="l14"></a>
<a name="l15"></a> </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l3251"><span class=cF4>FUF_RECURSE</span></a><span class=cF0> </span><span class=cF2>+r</span><span class=cF0> Recurse
<a name="l16"></a> </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l3260"><span class=cF4>FUF_SINGLE</span></a><span class=cF0> </span><span class=cF2>+s</span><span class=cF0> Single File (Optimization for one file in mask.)
<a name="l17"></a> </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l3271"><span class=cF4>FUF_FLATTEN_TREE</span></a><span class=cF0> </span><span class=cF2>+f</span><span class=cF0> use with '</span><span class=cF2>+F</span><span class=cF0>'. Just use </span><span class=cF2>+F</span><span class=cF0>, probably.
<a name="l18"></a> </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l3261"><span class=cF4>FUF_JUST_DIRS</span></a><span class=cF0> </span><span class=cF2>+D</span><span class=cF0> just directories
<a name="l19"></a> </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l3262"><span class=cF4>FUF_JUST_FILES</span></a><span class=cF0> </span><span class=cF2>+F</span><span class=cF0> just files (Flattens trees)
<a name="l20"></a> </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l3269"><span class=cF4>FUF_CLUS_ORDER</span></a><span class=cF0> </span><span class=cF2> +O</span><span class=cF0> sort by clus (move head one direction)
<a name="l21"></a> </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l3263"><span class=cF4>FUF_JUST_TXT</span></a><span class=cF0> </span><span class=cF2>+T</span><span class=cF0> just text files : </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l2993"><span class=cF4>FILEMASK_TXT</span></a><span class=cF0>
<a name="l22"></a> </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l3264"><span class=cF4>FUF_JUST_DD</span></a><span class=cF0> </span><span class=cF2>+$</span><span class=cF0> just </span><a href="https://zeal-operating-system.github.io/ZealOS/Doc/DolDocOverview.DD.html#l1"><span class=cF4>DolDoc</span></a><span class=cF0> files : </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l2992"><span class=cF4>FILEMASK_DD</span></a><span class=cF0>
<a name="l23"></a> </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l3265"><span class=cF4>FUF_JUST_SRC</span></a><span class=cF0> </span><span class=cF2>+S</span><span class=cF0> just src files : </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l2991"><span class=cF4>FILEMASK_SRC</span></a><span class=cF0>
<a name="l24"></a> </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l3266"><span class=cF4>FUF_JUST_AOT</span></a><span class=cF0> </span><span class=cF2>+A</span><span class=cF0> just aot files : </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l2990"><span class=cF4>FILEMASK_AOT</span></a><span class=cF0>
<a name="l25"></a> </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l3267"><span class=cF4>FUF_JUST_JIT</span></a><span class=cF0> </span><span class=cF2>+J</span><span class=cF0> just jit files : </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l2989"><span class=cF4>FILEMASK_JIT</span></a><span class=cF0>
<a name="l26"></a> </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l3268"><span class=cF4>FUF_JUST_GR</span></a><span class=cF0> </span><span class=cF2>+G</span><span class=cF0> just graphic files : </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l2994"><span class=cF4>FILEMASK_GR</span></a><span class=cF0>
2021-07-03 05:07:57 +01:00
<a name="l27"></a>
<a name="l28"></a>See </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KDefine.CC.html#l212"><span class=cF4>ST_FILE_UTIL_FLAGS</span></a><span class=cF0> when used in calling program taking text flags.
2021-07-03 05:07:57 +01:00
</span></pre></body>
</html>