<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>jmanteau &#187; bash</title>
	<atom:link href="http://www.jmanteau.fr/tag/bash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jmanteau.fr</link>
	<description>Photos, blog, CV &#38; Co : le "coin de Toile" de Julien Manteau</description>
	<lastBuildDate>Wed, 08 Feb 2012 13:49:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Connaître l&#8217;ensemble des types de fichiers dans un répertoire</title>
		<link>http://www.jmanteau.fr/informatique/linux/connaitre-lensemble-des-types-de-fichiers-dans-un-repertoire/</link>
		<comments>http://www.jmanteau.fr/informatique/linux/connaitre-lensemble-des-types-de-fichiers-dans-un-repertoire/#comments</comments>
		<pubDate>Sun, 12 Sep 2010 17:06:37 +0000</pubDate>
		<dc:creator>jmanteau</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[filetype]]></category>

		<guid isPermaLink="false">http://www.jmanteau.fr/?p=531</guid>
		<description><![CDATA[Une ligne rapide pour avoir l&#8217;ensemble des types de fichiers dans un répertoire : 1find REPERTOIRE -type f &#124;  awk -F . '{print $NF}' &#124; sort &#124; uniq Ou avec le décompte trié par extension : 1find REPERTOIRE -type f &#124;  awk -F . '{print $NF}' &#124; sort &#124; uniq -c &#124; sort -n]]></description>
			<content:encoded><![CDATA[<p>Une ligne rapide pour avoir l&#8217;ensemble des types de fichiers dans un répertoire :</p>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">find</span> REPERTOIRE <span style="color: #660033;">-type</span> f <span style="color: #000000; font-weight: bold;">|</span>  <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #660033;">-F</span> . <span style="color: #ff0000;">'{print $NF}'</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sort</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">uniq</span></div></td></tr></tbody></table></div>
<p>Ou avec le décompte trié par extension :</p>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">find</span> REPERTOIRE <span style="color: #660033;">-type</span> f <span style="color: #000000; font-weight: bold;">|</span>  <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #660033;">-F</span> . <span style="color: #ff0000;">'{print $NF}'</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sort</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">uniq</span> <span style="color: #660033;">-c</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sort</span> <span style="color: #660033;">-n</span></div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://www.jmanteau.fr/informatique/linux/connaitre-lensemble-des-types-de-fichiers-dans-un-repertoire/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compiler un script bash</title>
		<link>http://www.jmanteau.fr/informatique/linux/compiler-un-script-bash/</link>
		<comments>http://www.jmanteau.fr/informatique/linux/compiler-un-script-bash/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 09:16:27 +0000</pubDate>
		<dc:creator>jmanteau</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Planet-Libre]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[compiler]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[shc]]></category>

		<guid isPermaLink="false">http://jmanteau.free.fr/blog/?p=13</guid>
		<description><![CDATA[Aussi bizarre que cela puisse paraitre on peut compiler un script bash. Cela peut être particulièrement utile si l&#8217;on veut que le script ne soit pas modifé par un utilisateur lambda lors de sa diffusion. Pour cela télécharger Ici ou sur le site de l&#8217;auteur ( sur Debian un apt-get install shc marche également) Les [...]]]></description>
			<content:encoded><![CDATA[<p>Aussi bizarre que cela puisse paraitre on peut compiler un script bash. Cela peut être particulièrement utile si l&#8217;on veut que le script ne soit pas modifé par un utilisateur lambda lors de sa diffusion.</p>
<p>Pour cela télécharger  <a href="http://jmanteau.free.fr/util/shc-3.8.6.tar.gz">Ici</a> ou sur <a href="http://www.datsi.fi.upm.es/~frosal/">le site de l&#8217;auteur</a> ( sur Debian un apt-get install shc marche également)</p>
<p>Les instructions se trouve dans l&#8217;archive mais tout simplement il faut faire :<br />
make   : pour compiler le programme<br />
./shc -v -f moncriptamoi.sh  :</p>
<p>et on peut redistribuer le monscriptamoi.sh.x qui est alors un exécutable binaire .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jmanteau.fr/informatique/linux/compiler-un-script-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

