<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="https://dotclear.placeoweb.com/feed/rss2/xslt" ?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>PlaceOweb Dotclear - Mot-clé - perl</title>
    <link>https://dotclear.placeoweb.com/</link>
    <atom:link href="https://dotclear.placeoweb.com/feed/tag/perl/rss2" rel="self" type="application/rss+xml" />
    <description></description>
    <language>fr</language>
    <pubDate>Wed, 20 May 2026 15:53:59 +0200</pubDate>
    <copyright></copyright>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <generator>Dotclear</generator>
          <item>
        <title>Remplacer une chaîne dans tous les fichiers en récursif</title>
        <link>https://dotclear.placeoweb.com/post/Remplacer-dans-tous-les-fichiers</link>
        <guid isPermaLink="false">urn:md5:21cdd8d8797a8d36e8bcc6a0b86ea280</guid>
        <pubDate>Mon, 11 May 2009 18:58:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>Système</category>
                          <category>perl</category>
                  <category>php</category>
                <description>&lt;p&gt;Remplacer une chaîne de caractère dans tous les fichiers et sous dossiers.&lt;/p&gt; &lt;p&gt;Remplacement de chaîne dans vos fichiers en récursif


Avec perl vous pouvez remplacer le contenu de vos fichiers avec la commande suivante :


perl -pi'*.bak' -e 's/ChaineARemplacer/ChaineRemplacée/g' `find . -name '*'`


Cette commande modifie tous vos fichiers en récursif en changeant le mot &quot;ChaineARemplacer&quot; par &quot;ChaineRemplacée&quot;. Et... &lt;a href=&quot;https://dotclear.placeoweb.com/post/Remplacer-dans-tous-les-fichiers&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Remplacer une chaîne dans tous les fichiers en récursif&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/Remplacer-dans-tous-les-fichiers#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/Remplacer-dans-tous-les-fichiers#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/236</wfw:commentRss>
              </item>
      </channel>
</rss>
