<?xml version="1.0" encoding="UTF-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <title>Latest snippets tagged find</title>
  <link rel="alternate" href="http://snippets.prendreuncafe.com/snippets/tagged/find/order_by/date"></link>
  <id>http://snippets.prendreuncafe.com/snippets/tagged/find/order_by/date</id>
  <updated>2008-04-08T11:42:29Z</updated>
  <author>
    <name>Symfony</name>
    <author_email>noreply@symfony-project.com</author_email>
  </author>
<entry>
  <title>Supprimer les espaces des noms de fichier</title>
  <link href="http://snippets.prendreuncafe.com/snippet/86"></link>
  <updated>2008-04-08T11:42:29Z</updated>
  <id>86</id>
  <summary type="html">Pour supprimer tous les espaces des noms de fichier récursivement :

[code]
$ find . -type f -regex &quot;.*\ .*&quot; \
       -exec bash -c 'echo &quot;$1&quot;;mv &quot;$1&quot; &quot;${1// /-}&quot;' '{}' '{}'  \;
[/code]

(via maboite.org)</summary>
</entry>
</feed>