<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Namespace Compiler on Bash Tools Framework Documentation</title><link>https://bash-tools-framework.devlab.top/bashdoc/compiler/</link><description>Recent content in Namespace Compiler on Bash Tools Framework Documentation</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 12 Jun 2026 14:26:41 +0000</lastBuildDate><atom:link href="https://bash-tools-framework.devlab.top/bashdoc/compiler/index.xml" rel="self" type="application/rss+xml"/><item><title>Namespace src/Compiler/Embed</title><link>https://bash-tools-framework.devlab.top/bashdoc/compiler/embed/</link><pubDate>Sun, 01 Mar 2026 00:00:00 +0000</pubDate><guid>https://bash-tools-framework.devlab.top/bashdoc/compiler/embed/</guid><description>&lt;h2 id="srccompilerembed"&gt;src/Compiler/Embed&lt;/h2&gt;
&lt;h3 id="overview"&gt;Overview&lt;/h3&gt;
&lt;p&gt;Directory src/Compiler/Embed&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/fchastanet/bash-tools-framework/tree/master/src/Compiler/Embed/extractDirFromBase64.sh"&gt;file source src/Compiler/Embed/extractDirFromBase64.sh&lt;/a&gt;&lt;/p&gt;
&lt;h4 id="compilerembedextractdirfrombase64"&gt;Compiler::Embed::extractDirFromBase64&lt;/h4&gt;
&lt;p&gt;convert base64 encoded back to target dir
it is advised to include the md5sum of the binFile in the path of the target dir&lt;/p&gt;
&lt;h5 id="arguments"&gt;Arguments&lt;/h5&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;$1&lt;/strong&gt; (targetDir:string): the directory in which tar archive will be untarred&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;$2&lt;/strong&gt; (base64:string): the base64 encoded tar czf archive&lt;/li&gt;
&lt;/ul&gt;
&lt;h5 id="output-on-stderr"&gt;Output on stderr&lt;/h5&gt;
&lt;ul&gt;
&lt;li&gt;diagnostics information is displayed&lt;/li&gt;
&lt;/ul&gt;
&lt;h5 id="requires"&gt;Requires&lt;/h5&gt;
&lt;ul&gt;
&lt;li&gt;Linux::requireTarCommand&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="srccompilerembedextractfilefrombase64sh"&gt;src/Compiler/Embed/extractFileFromBase64.sh&lt;/h3&gt;
&lt;p&gt;&lt;a href="https://github.com/fchastanet/bash-tools-framework/tree/master/src/Compiler/Embed/extractFileFromBase64.sh"&gt;file source src/Compiler/Embed/extractFileFromBase64.sh&lt;/a&gt;&lt;/p&gt;
&lt;h4 id="compilerembedextractfilefrombase64"&gt;Compiler::Embed::extractFileFromBase64&lt;/h4&gt;
&lt;p&gt;convert base64 encoded back to target file
if target file is executable prepend dir of target
file to PATH to make binary available everywhere
it is advised to include in the path of the target file
the md5sum of the binFile&lt;/p&gt;</description></item></channel></rss>