<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.ubuntu-fr.org/extern.php?action=feed&amp;tid=1090851&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / script renommant 12 images]]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=1090851</link>
		<description><![CDATA[Les sujets les plus récents dans script renommant 12 images.]]></description>
		<lastBuildDate>Thu, 16 May 2013 14:32:04 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Réponse à&#160;:  script renommant 12 images]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=13568221#p13568221</link>
			<description><![CDATA[<p>En tous cas merci de t&#039;être pencher sur ce sujet. Faut que je mette les choses en ordre je crois... <img src="http://forum.ubuntu-fr.org/img/smilies/roll.png" width="15" height="15" alt="roll" /></p>]]></description>
			<author><![CDATA[dummy@example.com (ragamatrix)]]></author>
			<pubDate>Thu, 16 May 2013 14:32:04 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=13568221#p13568221</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  script renommant 12 images]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=13567441#p13567441</link>
			<description><![CDATA[<p>Le probléme ne vient pas du script mais des fichiers que tu essai de modifier.<br />Peu importe où sera le script, tu n&#039;as pas les droits sur le repertoire où se trouve tes images (sauf en root).</p>]]></description>
			<author><![CDATA[dummy@example.com (Altak)]]></author>
			<pubDate>Thu, 16 May 2013 13:23:46 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=13567441#p13567441</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  script renommant 12 images]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=13567081#p13567081</link>
			<description><![CDATA[<div class="quotebox"><cite>pingouinux a écrit&#160;:</cite><blockquote><div><p>Il faut que tu aies l&#039;autorisation d&#039;écriture sur le fichier <strong>earth.jpeg</strong>, et sur le répertoire <strong>/usr/share/xplanet/images/</strong>. Sinon, tu dois être <strong>root</strong>.<br /><span class="bbu">Remarque</span> : Tu as un mélange de fichiers <strong>.jpeg</strong> et <strong>.jpg</strong></p></div></blockquote></div><p>Pas mal de commandes de dossiers, d&#039;images et de fichiers de config doivent être en root... avec xplanet dans /usr/share/xplanet et /etc/xplanet...<br />Sauf dans le dossier de ~/.xplanet dans lequel je vais essayer d&#039;y mettre ce script. peut-être cela reglera le probleme des permissions ?</p>]]></description>
			<author><![CDATA[dummy@example.com (ragamatrix)]]></author>
			<pubDate>Thu, 16 May 2013 13:04:42 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=13567081#p13567081</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  script renommant 12 images]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=13566971#p13566971</link>
			<description><![CDATA[<p>Le cron prend les droits de l&#039;utilisateur qui creer le cron (a ce que je viens de voir), lance le en root ou a partir d&#039;utilisateur ayant les accés au repertoire.<br />Je travaille pas sur ce genre de chose, une autre personne pourrait sans doute t&#039;apporter plus d&#039;aide.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altak)]]></author>
			<pubDate>Thu, 16 May 2013 12:58:09 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=13566971#p13566971</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  script renommant 12 images]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=13566881#p13566881</link>
			<description><![CDATA[<div class="quotebox"><cite>Altak a écrit&#160;:</cite><blockquote><div><p>Si tu n&#039;as pas accés au repertoire dans le quel se trouve ton fichier, il se peut que cela t&#039;empeche de le faire.<br />comment faisais-tu avant pour modifier le nom de ton fichier?<br />Je vois aussi que le proprietaire des fichier est root, as-tu essayé de lancer la commande en root ou avec un sudo?<br />il est deconsillé de travailler en root mais il ddevrait être possible de donner les droits suffisant a ton cron pour qu&#039;il puisse arriver a faire le lien.</p></div></blockquote></div><p>En fait je fais ça dans crontab:</p><div class="codebox"><pre><code>### Cette commande est exécutée tous les 1er du mois à 9h10 pour images earth.jpg######
10 9 1 * * /usr/share/xplanet/images/monthly.sh  </code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (ragamatrix)]]></author>
			<pubDate>Thu, 16 May 2013 12:52:46 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=13566881#p13566881</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  script renommant 12 images]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=13566381#p13566381</link>
			<description><![CDATA[<p>Il faut que tu aies l&#039;autorisation d&#039;écriture sur le fichier <strong>earth.jpeg</strong>, et sur le répertoire <strong>/usr/share/xplanet/images/</strong>. Sinon, tu dois être <strong>root</strong>.<br /><span class="bbu">Remarque</span> : Tu as un mélange de fichiers <strong>.jpeg</strong> et <strong>.jpg</strong></p>]]></description>
			<author><![CDATA[dummy@example.com (pingouinux)]]></author>
			<pubDate>Thu, 16 May 2013 12:22:17 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=13566381#p13566381</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  script renommant 12 images]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=13566111#p13566111</link>
			<description><![CDATA[<p>Si tu n&#039;as pas accés au repertoire dans le quel se trouve ton fichier, il se peut que cela t&#039;empeche de le faire.<br />comment faisais-tu avant pour modifier le nom de ton fichier?<br />Je vois aussi que le proprietaire des fichier est root, as-tu essayé de lancer la commande en root ou avec un sudo?<br />il est deconsillé de travailler en root mais il ddevrait être possible de donner les droits suffisant a ton cron pour qu&#039;il puisse arriver a faire le lien.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altak)]]></author>
			<pubDate>Thu, 16 May 2013 12:03:42 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=13566111#p13566111</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  script renommant 12 images]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=13565891#p13565891</link>
			<description><![CDATA[<div class="quotebox"><cite>pingouinux a écrit&#160;:</cite><blockquote><div><p>Le script doit être écrit ainsi :</p><div class="codebox"><pre><code>#!/bin/bash

cd /usr/share/xplanet/images
ln -sf $(date +&quot;%m&quot;).jpeg earth.jpeg</code></pre></div><p>Que donne la commande ?</p><div class="codebox"><pre><code>ls -la /usr/share/xplanet/images/</code></pre></div></div></blockquote></div><p>ceci:</p><div class="codebox"><pre class="vscroll"><code>raphix@crunchbang:~$ ls -la /usr/share/xplanet/images/
total 23588
drwxr-xr-x  2 root root    4096 mai 16 12:40 .
drwxr-xr-x 13 root root    4096 mai 16 12:40 ..
-rw-r--r--  1 root root  333745 sep  5  2012 01.jpeg
-rw-r--r--  1 root root  334602 sep  5  2012 02.jpeg
-rw-r--r--  1 root root  333046 sep  5  2012 03.jpeg
-rw-r--r--  1 root root  326913 sep  5  2012 04.jpeg
-rw-r--r--  1 root root  322977 sep  5  2012 05.jpeg
-rw-r--r--  1 root root  314155 sep  5  2012 06.jpeg
-rw-r--r--  1 root root  302028 sep  5  2012 07.jpeg
-rw-r--r--  1 root root  301137 sep  5  2012 08.jpeg
-rw-r--r--  1 root root  312619 sep  5  2012 09.jpg
-rw-r--r--  1 root root  319674 sep  5  2012 10.jpeg
-rw-r--r--  1 root root  330441 sep  5  2012 12.jpeg
-rw-r--r--  1 root root  156874 fév  1  2009 ariel.jpg
-rw-r--r--  1 root root   82373 sep  5  2012 bump.jpg
-rw-r--r--  1 root root  629150 sep  5  2012 cloud_combined_2048.jpeg
-rw-r--r--  1 root root    4761 oct 29  2012 clouds.jpeg
-rw-r--r--  1 root root  568843 avr 28 18:42 clouds.jpg
-rw-r--r--  1 root root   69147 fév  1  2009 deimos.jpg
-rw-r--r--  1 root root 1614350 fév  1  2009 dione.jpg
-rw-r--r--  1 root root  266599 nov 14  2011 earth1.jpg
-rw-r--r--  1 root root  140925 déc  3  2011 earth-bumpmap_2048.jpg
lrwxrwxrwx  1 root root       7 mai 16 10:39 earth.jpeg -&gt; 05.jpeg
-rw-r--r--  1 root root  428632 sep 14  2012 earth.jpg
-rw-r--r--  1 root root  107492 déc  3  2011 earth-specular.jpg
-rw-r--r--  1 root root 4571110 fév  1  2009 enceladus.jpg
-rw-r--r--  1 root root    4978 nov 14  2011 hubble.png
-rw-r--r--  1 root root 4065324 fév  1  2009 iapetus.jpg
-rw-r--r--  1 root root    4608 nov 14  2011 iss.png
-rw-r--r--  1 root root    1522 mar 23  2002 latestmag10.png
-rw-r--r--  1 root root     562 mar 23  2002 latestmag2.png
-rw-r--r--  1 root root     921 mar 23  2002 latestmag3.png
-rw-r--r--  1 root root     990 mar 23  2002 latestmag4.png
-rw-r--r--  1 root root    1431 mar 23  2002 latestmag5.png
-rw-r--r--  1 root root    1326 mar 23  2002 latestmag6.png
-rw-r--r--  1 root root    1541 mar 23  2002 latestmag7.png
-rw-r--r--  1 root root     794 mar 23  2002 latestmag8.png
-rw-r--r--  1 root root    1675 mar 23  2002 latestmag9.png
-rw-r--r--  1 root root    7370 jan  6  2003 mag10.png
-rw-r--r--  1 root root     695 jan  6  2003 mag2.png
-rw-r--r--  1 root root    1269 jan  6  2003 mag3.png
-rw-r--r--  1 root root    2032 jan  6  2003 mag4.png
-rw-r--r--  1 root root    2985 jan  6  2003 mag5.png
-rw-r--r--  1 root root    4051 jan  6  2003 mag6.png
-rw-r--r--  1 root root    5106 jan  6  2003 mag7.png
-rw-r--r--  1 root root    6222 jan  6  2003 mag8.png
-rw-r--r--  1 root root    7212 jan  6  2003 mag9.png
-rw-r--r--  1 root root 1937124 sep  1  2006 mars.jpg
-rw-r--r--  1 root root 1429861 fév  1  2009 mercury.jpg
-rw-r--r--  1 root root    6147 nov 14  2011 mgs.png
-rwxr-xr-x  1 root root      51 nov  4  2012 monthly.sh
-rw-r--r--  1 root root  165884 déc  3  2011 moon-bumpmap.jpg
-rw-r--r--  1 root root  165884 déc  3  2011 moon.jpg
-rw-r--r--  1 root root  593163 déc  3  2011 moonmap.jpg
-rw-r--r--  1 root root  151783 nov 14  2011 night1.jpg
-rw-r--r--  1 root root  166433 sep  5  2012 night.jpg
-rw-r--r--  1 root root   93323 fév  1  2009 oberon.jpg
-rw-r--r--  1 root root    3979 nov 14  2011 odyssey.png
-rw-r--r--  1 root root  138689 fév  1  2009 phobos.jpg
-rw-r--r--  1 root root  368775 fév  1  2009 phoebe.jpg
-rw-r--r--  1 root root      70 avr 29 10:13 README
-rw-r--r--  1 root root    2548 nov 14  2011 shuttle.png
-rw-r--r--  1 root root     189 nov 14  2011 smile.png
-rw-r--r--  1 root root     209 nov 14  2011 sublunar.png
-rw-r--r--  1 root root     227 nov 14  2011 subsolar.png
-rw-r--r--  1 root root    8821 nov 14  2011 sun.jpg
-rw-r--r--  1 root root 1483819 fév  1  2009 tethys.jpg
-rw-r--r--  1 root root  135277 fév  1  2009 titania.jpg
-rw-r--r--  1 root root    6597 jan 31  2009 titan.jpg
-rw-r--r--  1 root root  641064 fév  1  2009 triton.jpg
-rw-r--r--  1 root root  182103 fév  1  2009 umbriel.jpg
-rw-r--r--  1 root root   10135 jan 31  2009 uranus.jpg
raphix@crunchbang:~$ 
  </code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (ragamatrix)]]></author>
			<pubDate>Thu, 16 May 2013 11:44:19 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=13565891#p13565891</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  script renommant 12 images]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=13565871#p13565871</link>
			<description><![CDATA[<p>@ragamix:<br />Avec ce script, tu ne va plus utiliser directement tes images. Tu va utiliser un &quot;fichier&quot; (que l&#039;on peut comparer a un pointeur) qui va pointer vers l&#039;image que tu lui donne.<br />autrement dit, tu va travailler a partir d&#039;un fichier qui va te rediriger vers l&#039;image que tu souhaite.<br />Commande qui te permet de faire un lien (-f permet d&#039;ecraser le precedent lien):</p><div class="codebox"><pre><code>ln -sf</code></pre></div><p>Source du lien (le &quot;$(date + %m)&quot; permet de recuperer le numero du mois en cours, histoire de te faciliter la vie <img src="http://forum.ubuntu-fr.org/img/smilies/smile.png" width="15" height="15" alt="smile" /> ):</p><div class="codebox"><pre><code>$(date +&quot;%m&quot;).jpeg</code></pre></div><p>Nom du lien:</p><div class="codebox"><pre><code>earth.jpeg</code></pre></div><p>Fait donc attention a bien passer le chemin de tes images dans la source du lien, sinon quoi le lien ne pointera vers rien...<br />Pense aussi a mettre a jour le lien du fichier &quot;earth.jpeg&quot; ds le code de ta page web si tu n&#039;a pas mis le earth.jpeg au m6eme endroit que tes images.</p><p>En esperant t&#039;avoir eclairci sur la démarche <img src="http://forum.ubuntu-fr.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Altak)]]></author>
			<pubDate>Thu, 16 May 2013 11:39:44 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=13565871#p13565871</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  script renommant 12 images]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=13565501#p13565501</link>
			<description><![CDATA[<p>Le script doit être écrit ainsi :</p><div class="codebox"><pre><code>#!/bin/bash

cd /usr/share/xplanet/images
ln -sf $(date +&quot;%m&quot;).jpeg earth.jpeg</code></pre></div><p>Que donne la commande ?</p><div class="codebox"><pre><code>ls -la /usr/share/xplanet/images/</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (pingouinux)]]></author>
			<pubDate>Thu, 16 May 2013 11:03:37 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=13565501#p13565501</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  script renommant 12 images]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=13565341#p13565341</link>
			<description><![CDATA[<p>merci <strong>pingouinux</strong><br />Je ne suis pas une lumière pour la logique et la compréhension des commandes...<br />Donc j&#039;ai fais ça : </p><div class="codebox"><pre><code> raphix@crunchbang:~$  cd /usr/share/xplanet/images/
raphix@crunchbang:/usr/share/xplanet/images$  ln -sf $(date +&quot;%m&quot;).jpeg earth.jpeg
ln: impossible de supprimer « earth.jpeg »: Permission non accordée
raphix@crunchbang:/usr/share/xplanet/images$ 
 </code></pre></div><p>Ais-ja un problème de permission avec le dossier /usr ?<br />donne:</p><div class="codebox"><pre class="vscroll"><code> raphix@crunchbang:~$ ls -l
total 17188
drwxr-xr-x  11 raphix raphix     4096 mai 16 12:16 Accuweather
-rw-r--r--   1 raphix raphix     2009 mai  5 15:03 autaustart1
drwxr-xr-x   2 raphix raphix     4096 avr 29 23:39 backup
-rw-------   1 raphix raphix    19050 avr 15 16:28 bevel
-rw-r--r--   1 raphix raphix   136206 mai  8 17:29 bilal2.jpg
-rw-r--r--   1 raphix raphix   235184 mai  8 17:31 bilal3.jpg
-rw-r--r--   1 raphix raphix   405142 mai  8 17:36 bilal4.jpg
-rw-r--r--   1 raphix raphix   590761 mai  8 17:37 bilal5.jpg
-rw-r--r--   1 raphix raphix  1476135 mai  8 17:39 bilal6.jpg
drwxr-xr-x   2 raphix raphix     4096 avr 29 23:39 bin
drwxr-xr-x  24 raphix raphix     4096 avr 30 10:33 conky
drwxr-xr-x   6 raphix raphix     4096 aoû  3  2011 CrayonPhysicsDeluxe
-rw-r--r--   1 raphix raphix    27154 mai  8 11:35 date.png
drwxr-xr-x   6 raphix raphix     4096 avr 30 11:09 deadbeef-0.5.6
-rw-------   1 raphix raphix      325 jun 20  2012 deadbeef.sh
drwxr-xr-x   2 raphix raphix     4096 mai  1 21:46 Desktop
drwxr-xr-x  28 raphix raphix     4096 avr 30 10:30 développement
drwxr-xr-x   2 raphix raphix     4096 mai 15 18:31 documents
drwxr-xr-x   4 raphix raphix     4096 mai 15 22:40 downloads
drwx------   6 raphix raphix     4096 mai  5 15:12 Dropbox
lrwxrwxrwx   1 raphix raphix        7 mai 16 10:11 earth.jpeg -&gt; 05.jpeg
-rw-r--r--   1 raphix raphix        2 mai  2 10:20 fonts.dir
-rw-r--r--   1 raphix raphix        2 mai  2 10:19 fonts.scale
drwxr-xr-x   2 raphix raphix     4096 avr 30 07:59 htdocs
-rw-r--r--   1 raphix raphix   771995 mai 16 12:15 image3.png
drwxr-xr-x  15 raphix raphix     4096 mai  1 22:58 ImageMagick-6.8.5-4
-rw-r--r--   1 raphix raphix 13665517 mai  1 22:22 ImageMagick.tar.gz
drwxr-xr-x  20 raphix raphix     4096 mai  1 23:02 images
drwxr-xr-x 142 raphix raphix    12288 mai 13 13:55 music
drwxrwxr-x   3 raphix raphix     4096 déc 26 19:08 PhotoFiltreLX-0.0.6.0-Alpha-src
-rw-r--r--   1 raphix raphix      310 mai  8 12:27 reflect_alpha-0.png
-rw-r--r--   1 raphix raphix    13344 mai  8 12:27 reflect_alpha-1.png
-rw-r--r--   1 raphix raphix    52039 mai  8 12:36 reflect_alpha.png
-rw-r--r--   1 raphix raphix     9831 mai  8 12:14 reflect_perfect.png
-rw-r--r--   1 raphix raphix     4626 mai  8 11:57 s12.gif
-rw-------   1 raphix raphix    35486 mar 18 15:31 s12.png
-rw-------   1 raphix raphix     7990 mai  8 12:06 sun.png
drwxr-xr-x   2 raphix raphix     4096 avr 29 23:39 templates
drwxr-xr-x   2 raphix raphix     4096 avr 29 23:39 tmp
drwxr-xr-x   3 raphix raphix     4096 avr 30 14:50 v9000
drwxr-xr-x   4 raphix raphix     4096 avr 30 17:33 videos
 </code></pre></div><p>Dois-je écrire ceci dans mon script ? : </p><div class="codebox"><pre><code>#!/bin/bash

cd /usr/share/xplanet/images ln -sf $(date +&quot;%m&quot;).jpeg earth.jpeg
  </code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (ragamatrix)]]></author>
			<pubDate>Thu, 16 May 2013 10:33:18 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=13565341#p13565341</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  script renommant 12 images]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=13564921#p13564921</link>
			<description><![CDATA[<p>Bonjour,<br />Inutile de renommer une photo chaque mois. Avec la solution proposée, voici ce que tu dois avoir :</p><div class="codebox"><pre><code>$ ls -l
total 0
-rw-r----- 1 user user 0 May 16 11:48 01.jpeg
-rw-r----- 1 user user 0 May 16 11:48 02.jpeg
-rw-r----- 1 user user 0 May 16 11:48 03.jpeg
-rw-r----- 1 user user 0 May 16 11:48 04.jpeg
-rw-r----- 1 user user 0 May 16 11:48 05.jpeg
-rw-r----- 1 user user 0 May 16 11:48 06.jpeg
-rw-r----- 1 user user 0 May 16 11:48 07.jpeg
-rw-r----- 1 user user 0 May 16 11:48 08.jpeg
-rw-r----- 1 user user 0 May 16 11:48 09.jpeg
-rw-r----- 1 user user 0 May 16 11:48 10.jpeg
-rw-r----- 1 user user 0 May 16 11:48 11.jpeg
-rw-r----- 1 user user 0 May 16 11:48 12.jpeg
lrwxrwxrwx 1 user user 7 May 16 11:48 earth.jpeg -&gt; 05.jpeg</code></pre></div><p><span class="bbu">Ajouté</span> : Dans ton script, il faut te placer dans le répertoire où sont les photos.</p>]]></description>
			<author><![CDATA[dummy@example.com (pingouinux)]]></author>
			<pubDate>Thu, 16 May 2013 09:51:34 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=13564921#p13564921</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  script renommant 12 images]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=13564111#p13564111</link>
			<description><![CDATA[<p>Bonjour; <br />Je reviens sur ce sujet car la solution proposée n&#039;a pas l&#039;air de fonctionner ou alors il y a quelque chose que je n&#039;ai pas compris...</p><p>Lorsque je lance cette commande: </p><div class="codebox"><pre><code>  ln -sf $(date +&quot;%m&quot;).jpeg earth.jpeg
 </code></pre></div><p> pour voir si l&#039;image du mois en cours (05.jpeg) est renomée en earth.jpeg cela ne fonctionne pas quand je vérifie dans le dossier concerné. /usr/share/xplanet/images</p><p>Les images sont nommées<strong> 01.jpeg</strong> jusqu&#039;à---&gt;<strong>12.jpeg</strong><br />Par exemple <strong>05.jpeg</strong> devrait s&#039;appeler <strong>earth.jpeg</strong> pour ce mois-ci et le mois prochain retrouver ce nom: <strong>05.jpeg</strong>. Ainsi de suite pour tous les mois...</p>]]></description>
			<author><![CDATA[dummy@example.com (ragamatrix)]]></author>
			<pubDate>Thu, 16 May 2013 08:21:44 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=13564111#p13564111</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  script renommant 12 images]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11393031#p11393031</link>
			<description><![CDATA[<p>bon alors j&#039; ai fais ça :<br />Dans crontab cette ligne: </p><div class="codebox"><pre><code> ###Cette commande est exécutée tous les 1er du mois à 9h10
10 9 1 * * /usr/share/xplanet/monthly.sh </code></pre></div><p>Et dans mon dossier xplanet le petit script avec une ligne: </p><div class="codebox"><pre><code> #!/bin/bash

ln -sf $(date +&quot;%m&quot;).jpeg earth.jpeg
 </code></pre></div><p>Est-ce bien ce qu&#039;il fallait faire ?<br />Merci</p>]]></description>
			<author><![CDATA[dummy@example.com (ragamatrix)]]></author>
			<pubDate>Sun, 04 Nov 2012 21:05:45 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11393031#p11393031</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  script renommant 12 images]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11391091#p11391091</link>
			<description><![CDATA[<p>@Tous <br />Merci beaucoup pour vos réponses.<br />Que dois-je écrire dans le crontab ?<br />Directement cette ligne ?: </p><div class="codebox"><pre><code> ln -sf $(date +&quot;%m&quot;).jpeg earth.jpeg </code></pre></div><p>ou dois-je le lancer en script.sh ?<br />Est-ce que je dois spécifier le chemin pour le dossier des images ?</p>]]></description>
			<author><![CDATA[dummy@example.com (ragamatrix)]]></author>
			<pubDate>Sun, 04 Nov 2012 18:20:46 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11391091#p11391091</guid>
		</item>
	</channel>
</rss>
