<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>ugone</title>
	<atom:link href="http://ugone.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ugone.wordpress.com</link>
	<description>Appunti di un linuxaro</description>
	<lastBuildDate>Tue, 01 Jan 2013 20:23:09 +0000</lastBuildDate>
	<language>it</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ugone.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>ugone</title>
		<link>http://ugone.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ugone.wordpress.com/osd.xml" title="ugone" />
	<atom:link rel='hub' href='http://ugone.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Fare l&#8217;md5 di tutti i file di una cartella</title>
		<link>http://ugone.wordpress.com/2013/01/01/fare-lmd5-di-tutti-i-file-di-una-cartella/</link>
		<comments>http://ugone.wordpress.com/2013/01/01/fare-lmd5-di-tutti-i-file-di-una-cartella/#comments</comments>
		<pubDate>Tue, 01 Jan 2013 20:20:58 +0000</pubDate>
		<dc:creator>ugone</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[LINUX]]></category>
		<category><![CDATA[md5]]></category>

		<guid isPermaLink="false">http://ugone.wordpress.com/?p=304</guid>
		<description><![CDATA[Ho provato oggi jacksum prima di tutto sudo apt-get install jacksum e poi lanciandolo nella cartella che serve jacksum -a md5 -f -r -m -o list.jacksum -w /cartella/da/calcolare/ calcola l&#8217;md5 di tutti i file presenti e salva il tutto in list.jacksum Filed under: bash, LINUX<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ugone.wordpress.com&#038;blog=778689&#038;post=304&#038;subd=ugone&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Ho provato oggi jacksum</p>
<p>prima di tutto sudo apt-get install jacksum</p>
<p>e poi lanciandolo nella cartella che serve</p>
<p>jacksum -a md5 -f -r -m -o list.jacksum -w /cartella/da/calcolare/</p>
<p>calcola l&#8217;md5 di tutti i file presenti e salva il tutto in list.jacksum</p>
<br />Filed under: <a href='http://ugone.wordpress.com/category/linux/bash/'>bash</a>, <a href='http://ugone.wordpress.com/category/linux/'>LINUX</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ugone.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ugone.wordpress.com/304/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ugone.wordpress.com&#038;blog=778689&#038;post=304&#038;subd=ugone&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ugone.wordpress.com/2013/01/01/fare-lmd5-di-tutti-i-file-di-una-cartella/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0047433c21434ce5b0cb14548cb90da2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ugone</media:title>
		</media:content>
	</item>
		<item>
		<title>Abilitare la registrazione macro in libreoffice</title>
		<link>http://ugone.wordpress.com/2012/12/12/abilitare-la-registrazione-macro-in-libreoffice/</link>
		<comments>http://ugone.wordpress.com/2012/12/12/abilitare-la-registrazione-macro-in-libreoffice/#comments</comments>
		<pubDate>Wed, 12 Dec 2012 19:57:10 +0000</pubDate>
		<dc:creator>ugone</dc:creator>
				<category><![CDATA[LINUX]]></category>

		<guid isPermaLink="false">http://ugone.wordpress.com/?p=295</guid>
		<description><![CDATA[Di default non è abilitata ma si può facilmente sapendo dove andare a toccare. Versione 4.0.0.0.beta2 Libreoffice Writer/Strumenti/Opzioni/Lodev/Avanzato/selezionare la casella abilita la registrazione di macro Versione 4.0.0.0.beta1 Libreoffice Writer/Strumenti/Opzioni/Lodev/Aggiornamento in linea/selezionare la casella enable macro recording Libreoffice 3.6 Libreoffice Writer/Strumenti/Opzioni/Libreoffice/generale/abilita la registrazione di macro NOTA BENE la versione di libreoffice 4 per ora è Versione [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ugone.wordpress.com&#038;blog=778689&#038;post=295&#038;subd=ugone&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Di default non è abilitata ma si può facilmente sapendo dove andare a toccare.</p>
<p>Versione 4.0.0.0.beta2</p>
<p>Libreoffice Writer/Strumenti/Opzioni/Lodev/Avanzato/selezionare la casella abilita la registrazione di macro<br />
Versione 4.0.0.0.beta1</p>
<p>Libreoffice Writer/Strumenti/Opzioni/Lodev/Aggiornamento in linea/selezionare la casella enable macro recording</p>
<p>Libreoffice 3.6</p>
<p>Libreoffice Writer/Strumenti/Opzioni/Libreoffice/generale/abilita la registrazione di macro<br />
NOTA BENE la versione di libreoffice 4 per ora è Versione 4.0.0.0.beta2<br />
probabilmente quando uscirà la versione definitiva cambierà</p>
<br />Filed under: <a href='http://ugone.wordpress.com/category/linux/'>LINUX</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ugone.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ugone.wordpress.com/295/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ugone.wordpress.com&#038;blog=778689&#038;post=295&#038;subd=ugone&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ugone.wordpress.com/2012/12/12/abilitare-la-registrazione-macro-in-libreoffice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0047433c21434ce5b0cb14548cb90da2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ugone</media:title>
		</media:content>
	</item>
		<item>
		<title>raccolta script</title>
		<link>http://ugone.wordpress.com/2012/01/15/raccolta-script/</link>
		<comments>http://ugone.wordpress.com/2012/01/15/raccolta-script/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 12:51:24 +0000</pubDate>
		<dc:creator>ugone</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[LINUX]]></category>
		<category><![CDATA[terminale]]></category>
		<category><![CDATA[trucchi]]></category>

		<guid isPermaLink="false">http://ugone.wordpress.com/?p=286</guid>
		<description><![CDATA[Una serie di script per me utile<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ugone.wordpress.com&#038;blog=778689&#038;post=286&#038;subd=ugone&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Una delle cose più utili è la possibilità di avere uno script sul tasto destro del mouse.</p>
<p>Ovviamente  tutti conoscono la fantastica raccolta di <a href="http://g-scripts.sourceforge.net/" rel="nofollow">http://g-scripts.sourceforge.net/</a></p>
<p>(personalmente la renderei obbligatoria <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Oppure la serie di NScripts     <a href="http://gnome-look.org/content/show.php/NScripts?content=67655" rel="nofollow">http://gnome-look.org/content/show.php/NScripts?content=67655</a></p>
<p>Ma c&#8217;è una serie di script che nel tempo mi son accorto di usare più di altri e che per un banale errore l&#8217;altro giorno ho cancellato.</p>
<p>Per cui prima di perderli un&#8217;altra volta me li segno qui.</p>
<p>Non tutti gli script hanno la licenza e/o chi li ha fatti ma che io sappia son tutti rilasciati sotto gpl.</p>
<p>&nbsp;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>#!/bin/bash<br />
# cartellacondata.sh<br />
mkdir &#8220;`date +%Y_%m_%d__%H_%M_%S`&#8221;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
#!/bin/bash<br />
#  dividifilexquant.sh<br />
## dati 1000K files in una direcoty<br />
## genera n cartelle partendo da 0 e sposta MAX files nelle sotto cartelle<br />
## posizionarsi nella cartella con cd<br />
#  CONTROLLARE ATTENTAMENTE IN QUALE CARTELLA VIENE LANCIATO</p>
<p>i=0<br />
max=50<br />
dirname=1<br />
mkdir $dirname</p>
<p>for file in *; do<br />
if [ ! -d "$file" ]; then<br />
if [ "$i" -ge "$max" ]<br />
then<br />
(( i = 0 ))<br />
(( dirname= $dirname + 1 ))<br />
mkdir $dirname<br />
fi<br />
mv &#8220;$file&#8221; &#8220;$dirname/&#8221;<br />
(( i= $i +1))<br />
fi<br />
done</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
#!/bin/bash<br />
# generacaratteri.sh<br />
for i in `seq 30 256`; do printf \\x`echo &#8220;obase=16; $i&#8221; | bc`\\n ; done &gt; ~/Scrivania/testcaratteri.txt</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
#!/bin/bash<br />
# html-index.sh<br />
# Script che scandisce un albero di directory e crea un file html<br />
# di indice in ogni sottodirectory</p>
<p># Stefano Salvi &lt;stefano@salvi.mn.it&gt;<br />
# this file is available under the GNU general public license</p>
<p># controlla che ci sia un parametro e che questo corrisponda ad una directory<br />
if [ ! "$1" ]<br />
then<br />
echo &#8220;Devi indicare la directory nella quale fare l&#8217;indice&#8221;<br />
exit 1<br />
fi<br />
if [ ! -d "$1" ]<br />
then<br />
echo &#8220;$1 non e&#8217; una directory&#8221;<br />
exit 2<br />
fi</p>
<p># Stampa una riga di tabella con il link ad una directory o file da vedere<br />
# $1 -&gt; File<br />
# $2 -&gt; Descrizione<br />
# $3 -&gt; Link<br />
# $4 -&gt; Azione<br />
function view {<br />
# produce la riga di tabella<br />
echo &#8220;&lt;tr&gt;&lt;td&gt;$1&lt;/td&gt;&lt;td align=\&#8221;center\&#8221;&gt;$2&lt;/td&gt;&lt;td align=\&#8221;center\&#8221;&gt;&lt;a href=\&#8221;$3\&#8221;&gt;$4&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&#8221;<br />
}</p>
<p># Stampa una riga di tabella con il link ad un file da scaricare<br />
# $1 -&gt; File<br />
# $2 -&gt; Descrizione<br />
# $3 -&gt; File con i caratteri corretti per il Web<br />
function download {<br />
# lista il file (ls), ne estrae la dimensione (awk) e inserisce i punti (sed)<br />
DIMENSIONE=`ls -l &#8220;$1&#8243; | awk &#8216;{ print $5 }&#8217; | \<br />
sed -e &#8220;s/\([0-9]\)\([0-9][0-9][0-9]\)$/\1.\2/&#8221; -e &#8220;s/\([0-9]\)\([0-9][0-9][0-9]\.\)/\1.\2/&#8221;`<br />
# Stampa la riga della tabella<br />
echo &#8220;&lt;tr&gt;&lt;td&gt;$1&lt;/td&gt;&lt;td align=\&#8221;center\&#8221;&gt;$2&lt;/td&gt;&lt;td align=\&#8221;center\&#8221;&gt;&lt;a href=\&#8221;$3\&#8221;&gt;scarica&lt;/a&gt; ($DIMENSIONE byte)&lt;/td&gt;&lt;/tr&gt;&#8221;<br />
}</p>
<p># Stampa un file &#8220;index.html&#8221;; ricorsivamente, si richiama e redirige il<br />
# risultato sugli &#8220;index.html&#8221; delle sottodirectory<br />
# Parametri:<br />
# $1 -&gt; percorso corrrente (titolo)<br />
# $2 -&gt; locazione directory corrente (per CD)<br />
function index {<br />
# Dichiara due directory &#8220;locali&#8221;, cioe&#8217; diverse per ogni invocazione<br />
# della funzione<br />
local OLDPWD<br />
# Recupera il percorso precedente, per tornarci<br />
OLDPWD=`pwd`</p>
<p># Entra nella directory indicata<br />
cd &#8220;$2&#8243;</p>
<p># Stampa la testata del file HTML (html molto grezzo)<br />
echo &#8220;&lt;html&gt;&#8221;<br />
echo &#8220;&lt;head&gt;&#8221;<br />
echo &#8220;&lt;title&gt;Files in $1&lt;/title&gt;&#8221;<br />
echo &#8220;&lt;body&gt;&#8221;<br />
echo &#8220;&lt;h1 align=\&#8221;center\&#8221;&gt;Files in $1&lt;/h1&gt;&#8221;<br />
echo &#8220;&lt;p align=\&#8221;center\&#8221;&gt;[&lt;a href=\"../index.html\"&gt;Directory Superiore&lt;/a&gt;]&lt;/p&gt;&#8221;<br />
echo &#8220;&lt;table border=\&#8221;1\&#8221; align=\&#8221;center\&#8221;&gt;&#8221;</p>
<p># Fa&#8217; un ciclo sui nomi dei file della directory idicata (corrente)<br />
for f in *<br />
do<br />
# Corregge il nome file<br />
FILE=`echo &#8220;$f&#8221; | \<br />
sed -e &#8220;s/ /%20/g&#8221; -e &#8220;s/\//%5f/g&#8221;`<br />
# Se il file corrente e&#8217; una directory<br />
if [ -d "$f" ]<br />
then<br />
# Produce la figa di tabella che vi rimanda<br />
view &#8220;$f&#8221; &#8220;[Directory]&#8221; &#8220;$FILE/index.html&#8221; &#8220;entra&#8221;<br />
# si richiama ricorsivamente, per generarne l&#8217;indice<br />
index $1/$f $f &gt; $f/index.html<br />
# Altrimenti (e&#8217; un file) se e&#8217; &#8220;index.html&#8221; (se stesso)<br />
elif [ "$f" = "index.html" ]<br />
then<br />
#l&#8217;index stesso &#8211; non lo lista<br />
echo &#8220;&lt;!&#8211; Index.html saltato &#8211;&gt;&#8221;<br />
else<br />
# estrae l&#8217;estensione del file<br />
ESTENSIONE=`echo $f | /bin/sed &#8220;s/^.*\.\([^.]*\)$/\1/&#8221;`<br />
# se l&#8217;estensione coincide con il file,<br />
# il file non ha estensione<br />
if [ "$ESTENSIONE" = "$f" ]<br />
then<br />
ESTENSIONE=&#8221;senza tipo&#8221;<br />
fi<br />
# In base all&#8217;estensione&#8230;.<br />
case $ESTENSIONE in<br />
htm | html)<br />
view &#8220;$f&#8221; &#8220;Pagina WEB&#8221; &#8220;$FILE&#8221; &#8220;Leggi&#8221;<br />
;;<br />
txt)<br />
view &#8220;$f&#8221; &#8220;Documento di testo&#8221; &#8220;$FILE&#8221; &#8220;Leggi&#8221;<br />
;;<br />
*)<br />
download &#8220;$f&#8221; &#8220;file $ESTENSIONE&#8221; &#8220;$FILE&#8221;<br />
;;<br />
esac<br />
fi<br />
done</p>
<p># stampa la coda del file HTML<br />
echo &#8220;&lt;/table&gt;&#8221;<br />
echo &#8220;&lt;/body&gt;&#8221;<br />
echo &#8220;&lt;/html&gt;&#8221;</p>
<p># Ritorna alla directory precedente<br />
cd $OLDPWD<br />
}</p>
<p># richiama la funzione che produce l&#8217;indice principale dell&#8217;archivio<br />
# e lo immagazzina nel file indice della directory<br />
index &#8220;Archivio&#8221; $1 &gt; $1/index.html</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
#!/bin/bash<br />
#dipendenze yad (<a href="http://code.google.com/p/yad/" rel="nofollow">http://code.google.com/p/yad/</a>)<br />
ddove=$(yad &#8211;file &#8211;directory &#8211;width=800 &#8211;height=600) ## imposta la cartella<br />
if [ $? == 0 ]; then  ## ciclo di controllo che fa uscire se non viene impostata la cartella<br />
risul1=$(find $ddove/ -type f -exec cat {} \; | md5sum )  ## calolo md5<br />
yad &#8211;image &#8220;dialog-label&#8221; &#8211;title &#8220;Risultato&#8221; &#8211;button=gtk-yes:0 &#8211;button=gtk-no:1 &#8211;text  &#8220;$risul1&#8243; &#8211;selectable-labels  ## fa vedere il risultato<br />
fi</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
#!/bin/bash<br />
#copiaverso.sh<br />
#########################################################<br />
#                            #<br />
# This are NScripts v3.4                #<br />
#                            #<br />
# Licensed under the GNU GENERAL PUBLIC LICENSE 3    #<br />
#                            #<br />
# Copyright 2007 &#8211; 2008 Christopher Bratusek        #<br />
#                            #<br />
#########################################################</p>
<p>if [[ -x /usr/bin/gksu || -x /opt/gnome/bin/gksu ]]; then<br />
sudotool=&#8221;gksu -u root&#8221;<br />
elif [[ -x /usr/bin/gnomesu || -x /opt/gnome/bin/gnomesu ]]; then<br />
sudotool=gnomesu<br />
fi</p>
<p>destination=$(zenity &#8211;file-selection &#8211;directory &#8211;title &#8220;Where to copy files?&#8221;)</p>
<p>echo $NAUTILUS_SCRIPT_SELECTED_URIS &gt; ~/.gnome2/temp_copy_list</p>
<p>for file in $(cat ~/.gnome2/temp_copy_list); do \</p>
<p>file_name=$(echo $file | sed -e &#8216;s/file:\/\///g&#8217; -e &#8216;s/\%20/\ /g&#8217;)<br />
short_file_name=$(echo $file | sed -e &#8216;s#.*/##g&#8217; -e &#8216;s/\%20/\ /g&#8217;)</p>
<p>if [[ -w $destination &amp;&amp; -a $destination/$short_file_name ]]; then \<br />
confirm=$(zenity zenity &#8211;question &#8211;text &#8220;Overwrite File $destination/$short_file_name?&#8221;; echo $?)<br />
if [[ $confirm == 0 ]]; then<br />
cp -r &#8220;$file_name&#8221; $destination<br />
if (( $? != 0 )); then<br />
zenity &#8211;info &#8211;text &#8220;Something went wrong&#8221; &#8211;title &#8220;Failure&#8221;<br />
fi<br />
fi<br />
elif [[ -w $destination ]]; then \<br />
cp -r &#8220;$file_name&#8221; $destination<br />
if (( $? != 0 )); then<br />
zenity &#8211;info &#8211;text &#8220;Something went wrong&#8221; &#8211;title &#8220;Failure&#8221;<br />
fi<br />
elif [[ -a $destination &amp;&amp; $sudotool != "" ]]; then<br />
$sudotool &#8220;cp -r &#8216;$file_name&#8217; $destination&#8221;<br />
else    zenity &#8211;info &#8211;title &#8220;Failure&#8221; &#8211;text &#8220;$destination does either not\nexist or is not writable&#8221;<br />
fi; \<br />
done</p>
<p>rm -f ~/.gnome2/temp_copy_list</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
#!/bin/bash<br />
#muoviverso.sh<br />
#########################################################<br />
#                            #<br />
# This are NScripts v3.4                #<br />
#                            #<br />
# Licensed under the GNU GENERAL PUBLIC LICENSE 3    #<br />
#                            #<br />
# Copyright 2007 &#8211; 2008 Christopher Bratusek        #<br />
#                            #<br />
#########################################################</p>
<p>if [[ -x /usr/bin/gksu || -x /opt/gnome/bin/gksu ]]; then<br />
sudotool=&#8221;gksu -u root&#8221;<br />
elif [[ -x /usr/bin/gnomesu || -x /opt/gnome/bin/gnomesu ]]; then<br />
sudotool=gnomesu<br />
fi</p>
<p>destination=$(zenity &#8211;file-selection &#8211;directory &#8211;title &#8220;Where to move files?&#8221;)</p>
<p>echo $NAUTILUS_SCRIPT_SELECTED_URIS &gt; ~/.gnome2/temp_move_list</p>
<p>for file in $(cat ~/.gnome2/temp_move_list); do \</p>
<p>file_name=$(echo $file | sed -e &#8216;s/file:\/\///g&#8217; -e &#8216;s/\%20/\ /g&#8217;)<br />
short_file_name=$(echo $file | sed -e &#8216;s#.*/##g&#8217; -e &#8216;s/\%20/\ /g&#8217;)</p>
<p>if [[ -w $destination &amp;&amp; -a $destination/$short_file_name ]]; then \<br />
confirm=$(zenity zenity &#8211;question &#8211;text &#8220;Overwrite File $destination/$short_file_name?&#8221;; echo $?)<br />
if [[ $confirm == 0 ]]; then<br />
mv &#8220;$file_name&#8221; $destination<br />
if (( $? != 0 )); then<br />
zenity &#8211;info &#8211;text &#8220;Something went wrong&#8221; &#8211;title &#8220;Failure&#8221;<br />
fi<br />
fi<br />
elif [[ -w $destination ]]; then \<br />
mv &#8220;$file_name&#8221; $destination<br />
if (( $? != 0 )); then<br />
zenity &#8211;info &#8211;text &#8220;Something went wrong&#8221; &#8211;title &#8220;Failure&#8221;<br />
fi<br />
elif [[ -a $destination &amp;&amp; $sudotool != "" ]]; then<br />
$sudotool &#8220;mv &#8216;$file_name&#8217; $destination&#8221;<br />
else    zenity &#8211;info &#8211;title &#8220;Failure&#8221; &#8211;text &#8220;$destination does either not\nexist or is not writable&#8221;<br />
fi; \<br />
done</p>
<p>rm -f ~/.gnome2/temp_move_list</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
#!/bin/bash<br />
#rendieseguibile.sh</p>
<p>for arg; do<br />
chmod u+x &#8212; &#8220;$arg&#8221;<br />
done</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
#!/bin/bash<br />
# start-server.sh<br />
#Autore script: Mattia Castiglione<br />
#Sito: <a href="http://c2asr.altervista.org" rel="nofollow">http://c2asr.altervista.org</a><br />
#Codice ipext preso da <a href="http://gnome-look.org/content/show.php/conky+meet+faenza?content=133086&#038;PHPSESSID=5079a66bbea4381783f1927de73db023" rel="nofollow">http://gnome-look.org/content/show.php/conky+meet+faenza?content=133086&#038;PHPSESSID=5079a66bbea4381783f1927de73db023</a></p>
<p>ipext=$(wget <a href="http://checkip.dyndns.org/" rel="nofollow">http://checkip.dyndns.org/</a> -q -O &#8211; |grep -Eo &#8216;\&lt;[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\&gt;&#8217;);</p>
<p>porta=$(zenity &#8211;entry &#8211;text &#8220;Scrivere la porta del server (default: 8000)&#8221; &#8211;entry-text &#8220;8000&#8243;);</p>
<p>exec xterm -T &#8220;Log server HTTP&#8221; -e python -m SimpleHTTPServer $porta &amp; zenity &#8211;question &#8211;text &#8220;Server HTTP attivato con successo!\nIndirizzo interno: <a href="http://localhost:$porta" rel="nofollow">http://localhost:$porta</a>\nIndirizzo esterno: <a href="http://$ipext:$porta" rel="nofollow">http://$ipext:$porta</a>\nCLICCARE SI-NO PER DISABILITARE ILSERVER&#8221;</p>
<p>if [ $? -eq 0]<br />
then<br />
pkill xterm<br />
else<br />
pkill xterm<br />
fi</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>#!/bin/bash<br />
mkdir &#8220;`date +%Y_%m_%d__%H_%M_%S`&#8221;<br />
#!/bin/bash<br />
## dati 1000K files in una direcoty<br />
##  genera n cartelle partendo da 0 e sposta MAX files nelle sotto cartelle<br />
## posizionarsi nella cartella con cd<br />
i=0<br />
max=50<br />
dirname=1<br />
mkdir $dirname</p>
<p>for file in *; do<br />
if [ ! -d "$file" ]; then<br />
if [ "$i" -ge "$max" ]<br />
then<br />
(( i = 0 ))<br />
(( dirname= $dirname + 1 ))<br />
mkdir $dirname<br />
fi<br />
mv &#8220;$file&#8221; &#8220;$dirname/&#8221;<br />
(( i= $i +1))<br />
fi<br />
done</p>
<p>#!/bin/bash<br />
for i in `seq 30 256`; do printf \\x`echo &#8220;obase=16; $i&#8221; | bc`\\n ; done &gt; /home/ugone/Scrivania/testcaratteri.txt</p>
<p>#!/bin/bash<br />
# html-index<br />
# Script che scandisce un albero di directory e crea un file html<br />
# di indice in ogni sottodirectory</p>
<p># Stefano Salvi &lt;stefano@salvi.mn.it&gt;<br />
# this file is available under the GNU general public license</p>
<p># controlla che ci sia un parametro e che questo corrisponda ad una directory<br />
if [ ! "$1" ]<br />
then<br />
echo &#8220;Devi indicare la directory nella quale fare l&#8217;indice&#8221;<br />
exit 1<br />
fi<br />
if [ ! -d "$1" ]<br />
then<br />
echo &#8220;$1 non e&#8217; una directory&#8221;<br />
exit 2<br />
fi</p>
<p># Stampa una riga di tabella con il link ad una directory o file da vedere<br />
# $1 -&gt; File<br />
# $2 -&gt; Descrizione<br />
# $3 -&gt; Link<br />
# $4 -&gt; Azione<br />
function view {<br />
# produce la riga di tabella<br />
echo &#8220;&lt;tr&gt;&lt;td&gt;$1&lt;/td&gt;&lt;td align=\&#8221;center\&#8221;&gt;$2&lt;/td&gt;&lt;td align=\&#8221;center\&#8221;&gt;&lt;a href=\&#8221;$3\&#8221;&gt;$4&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&#8221;<br />
}</p>
<p># Stampa una riga di tabella con il link ad un file da scaricare<br />
# $1 -&gt; File<br />
# $2 -&gt; Descrizione<br />
# $3 -&gt; File con i caratteri corretti per il Web<br />
function download {<br />
# lista il file (ls), ne estrae la dimensione (awk) e inserisce i punti (sed)<br />
DIMENSIONE=`ls -l &#8220;$1&#8243; | awk &#8216;{ print $5 }&#8217; | \<br />
sed -e &#8220;s/\([0-9]\)\([0-9][0-9][0-9]\)$/\1.\2/&#8221; -e &#8220;s/\([0-9]\)\([0-9][0-9][0-9]\.\)/\1.\2/&#8221;`<br />
# Stampa la riga della tabella<br />
echo &#8220;&lt;tr&gt;&lt;td&gt;$1&lt;/td&gt;&lt;td align=\&#8221;center\&#8221;&gt;$2&lt;/td&gt;&lt;td align=\&#8221;center\&#8221;&gt;&lt;a href=\&#8221;$3\&#8221;&gt;scarica&lt;/a&gt; ($DIMENSIONE byte)&lt;/td&gt;&lt;/tr&gt;&#8221;<br />
}</p>
<p># Stampa un file &#8220;index.html&#8221;; ricorsivamente, si richiama e redirige il<br />
# risultato sugli &#8220;index.html&#8221; delle sottodirectory<br />
# Parametri:<br />
# $1 -&gt; percorso corrrente (titolo)<br />
# $2 -&gt; locazione directory corrente (per CD)<br />
function index {<br />
# Dichiara due directory &#8220;locali&#8221;, cioe&#8217; diverse per ogni invocazione<br />
# della funzione<br />
local OLDPWD<br />
# Recupera il percorso precedente, per tornarci<br />
OLDPWD=`pwd`</p>
<p># Entra nella directory indicata<br />
cd &#8220;$2&#8243;</p>
<p># Stampa la testata del file HTML (html molto grezzo)<br />
echo &#8220;&lt;html&gt;&#8221;<br />
echo &#8220;&lt;head&gt;&#8221;<br />
echo &#8220;&lt;title&gt;Files in $1&lt;/title&gt;&#8221;<br />
echo &#8220;&lt;body&gt;&#8221;<br />
echo &#8220;&lt;h1 align=\&#8221;center\&#8221;&gt;Files in $1&lt;/h1&gt;&#8221;<br />
echo &#8220;&lt;p align=\&#8221;center\&#8221;&gt;[&lt;a href=\"../index.html\"&gt;Directory Superiore&lt;/a&gt;]&lt;/p&gt;&#8221;<br />
echo &#8220;&lt;table border=\&#8221;1\&#8221; align=\&#8221;center\&#8221;&gt;&#8221;</p>
<p># Fa&#8217; un ciclo sui nomi dei file della directory idicata (corrente)<br />
for f in *<br />
do<br />
# Corregge il nome file<br />
FILE=`echo &#8220;$f&#8221; | \<br />
sed -e &#8220;s/ /%20/g&#8221; -e &#8220;s/\//%5f/g&#8221;`<br />
# Se il file corrente e&#8217; una directory<br />
if [ -d "$f" ]<br />
then<br />
# Produce la figa di tabella che vi rimanda<br />
view &#8220;$f&#8221; &#8220;[Directory]&#8221; &#8220;$FILE/index.html&#8221; &#8220;entra&#8221;<br />
# si richiama ricorsivamente, per generarne l&#8217;indice<br />
index $1/$f $f &gt; $f/index.html<br />
# Altrimenti (e&#8217; un file) se e&#8217; &#8220;index.html&#8221; (se stesso)<br />
elif [ "$f" = "index.html" ]<br />
then<br />
#l&#8217;index stesso &#8211; non lo lista<br />
echo &#8220;&lt;!&#8211; Index.html saltato &#8211;&gt;&#8221;<br />
else<br />
# estrae l&#8217;estensione del file<br />
ESTENSIONE=`echo $f | /bin/sed &#8220;s/^.*\.\([^.]*\)$/\1/&#8221;`<br />
# se l&#8217;estensione coincide con il file,<br />
# il file non ha estensione<br />
if [ "$ESTENSIONE" = "$f" ]<br />
then<br />
ESTENSIONE=&#8221;senza tipo&#8221;<br />
fi<br />
# In base all&#8217;estensione&#8230;.<br />
case $ESTENSIONE in<br />
htm | html)<br />
view &#8220;$f&#8221; &#8220;Pagina WEB&#8221; &#8220;$FILE&#8221; &#8220;Leggi&#8221;<br />
;;<br />
txt)<br />
view &#8220;$f&#8221; &#8220;Documento di testo&#8221; &#8220;$FILE&#8221; &#8220;Leggi&#8221;<br />
;;<br />
*)<br />
download &#8220;$f&#8221; &#8220;file $ESTENSIONE&#8221; &#8220;$FILE&#8221;<br />
;;<br />
esac<br />
fi<br />
done</p>
<p># stampa la coda del file HTML<br />
echo &#8220;&lt;/table&gt;&#8221;<br />
echo &#8220;&lt;/body&gt;&#8221;<br />
echo &#8220;&lt;/html&gt;&#8221;</p>
<p># Ritorna alla directory precedente<br />
cd $OLDPWD<br />
}</p>
<p># richiama la funzione che produce l&#8217;indice principale dell&#8217;archivio<br />
# e lo immagazzina nel file indice della directory<br />
index &#8220;Archivio&#8221; $1 &gt; $1/index.html</p>
<p>#!/bin/bash<br />
ddove=$(yad &#8211;file &#8211;directory &#8211;width=800 &#8211;height=600) ## imposta la cartella<br />
if [ $? == 0 ]; then  ## ciclo di controllo che fa uscire se non viene impostata la cartella<br />
risul1=$(find $ddove/ -type f -exec cat {} \; | md5sum )  ## calolo md5<br />
yad &#8211;image &#8220;dialog-label&#8221; &#8211;title &#8220;Risultato&#8221; &#8211;button=gtk-yes:0 &#8211;button=gtk-no:1 &#8211;text  &#8220;$risul1&#8243; &#8211;selectable-labels  ## fa vedere il risultato<br />
fi<br />
#!/bin/bash<br />
#########################################################<br />
#                            #<br />
# This are NScripts v3.4                #<br />
#                            #<br />
# Licensed under the GNU GENERAL PUBLIC LICENSE 3    #<br />
#                            #<br />
# Copyright 2007 &#8211; 2008 Christopher Bratusek        #<br />
#                            #<br />
#########################################################</p>
<p>if [[ -x /usr/bin/gksu || -x /opt/gnome/bin/gksu ]]; then<br />
sudotool=&#8221;gksu -u root&#8221;<br />
elif [[ -x /usr/bin/gnomesu || -x /opt/gnome/bin/gnomesu ]]; then<br />
sudotool=gnomesu<br />
fi</p>
<p>destination=$(zenity &#8211;file-selection &#8211;directory &#8211;title &#8220;Where to copy files?&#8221;)</p>
<p>echo $NAUTILUS_SCRIPT_SELECTED_URIS &gt; ~/.gnome2/temp_copy_list</p>
<p>for file in $(cat ~/.gnome2/temp_copy_list); do \</p>
<p>file_name=$(echo $file | sed -e &#8216;s/file:\/\///g&#8217; -e &#8216;s/\%20/\ /g&#8217;)<br />
short_file_name=$(echo $file | sed -e &#8216;s#.*/##g&#8217; -e &#8216;s/\%20/\ /g&#8217;)</p>
<p>if [[ -w $destination &amp;&amp; -a $destination/$short_file_name ]]; then \<br />
confirm=$(zenity zenity &#8211;question &#8211;text &#8220;Overwrite File $destination/$short_file_name?&#8221;; echo $?)<br />
if [[ $confirm == 0 ]]; then<br />
cp -r &#8220;$file_name&#8221; $destination<br />
if (( $? != 0 )); then<br />
zenity &#8211;info &#8211;text &#8220;Something went wrong&#8221; &#8211;title &#8220;Failure&#8221;<br />
fi<br />
fi<br />
elif [[ -w $destination ]]; then \<br />
cp -r &#8220;$file_name&#8221; $destination<br />
if (( $? != 0 )); then<br />
zenity &#8211;info &#8211;text &#8220;Something went wrong&#8221; &#8211;title &#8220;Failure&#8221;<br />
fi<br />
elif [[ -a $destination &amp;&amp; $sudotool != "" ]]; then<br />
$sudotool &#8220;cp -r &#8216;$file_name&#8217; $destination&#8221;<br />
else    zenity &#8211;info &#8211;title &#8220;Failure&#8221; &#8211;text &#8220;$destination does either not\nexist or is not writable&#8221;<br />
fi; \<br />
done</p>
<p>rm -f ~/.gnome2/temp_copy_list<br />
#!/bin/bash<br />
#########################################################<br />
#                            #<br />
# This are NScripts v3.4                #<br />
#                            #<br />
# Licensed under the GNU GENERAL PUBLIC LICENSE 3    #<br />
#                            #<br />
# Copyright 2007 &#8211; 2008 Christopher Bratusek        #<br />
#                            #<br />
#########################################################</p>
<p>if [[ -x /usr/bin/gksu || -x /opt/gnome/bin/gksu ]]; then<br />
sudotool=&#8221;gksu -u root&#8221;<br />
elif [[ -x /usr/bin/gnomesu || -x /opt/gnome/bin/gnomesu ]]; then<br />
sudotool=gnomesu<br />
fi</p>
<p>destination=$(zenity &#8211;file-selection &#8211;directory &#8211;title &#8220;Where to move files?&#8221;)</p>
<p>echo $NAUTILUS_SCRIPT_SELECTED_URIS &gt; ~/.gnome2/temp_move_list</p>
<p>for file in $(cat ~/.gnome2/temp_move_list); do \</p>
<p>file_name=$(echo $file | sed -e &#8216;s/file:\/\///g&#8217; -e &#8216;s/\%20/\ /g&#8217;)<br />
short_file_name=$(echo $file | sed -e &#8216;s#.*/##g&#8217; -e &#8216;s/\%20/\ /g&#8217;)</p>
<p>if [[ -w $destination &amp;&amp; -a $destination/$short_file_name ]]; then \<br />
confirm=$(zenity zenity &#8211;question &#8211;text &#8220;Overwrite File $destination/$short_file_name?&#8221;; echo $?)<br />
if [[ $confirm == 0 ]]; then<br />
mv &#8220;$file_name&#8221; $destination<br />
if (( $? != 0 )); then<br />
zenity &#8211;info &#8211;text &#8220;Something went wrong&#8221; &#8211;title &#8220;Failure&#8221;<br />
fi<br />
fi<br />
elif [[ -w $destination ]]; then \<br />
mv &#8220;$file_name&#8221; $destination<br />
if (( $? != 0 )); then<br />
zenity &#8211;info &#8211;text &#8220;Something went wrong&#8221; &#8211;title &#8220;Failure&#8221;<br />
fi<br />
elif [[ -a $destination &amp;&amp; $sudotool != "" ]]; then<br />
$sudotool &#8220;mv &#8216;$file_name&#8217; $destination&#8221;<br />
else    zenity &#8211;info &#8211;title &#8220;Failure&#8221; &#8211;text &#8220;$destination does either not\nexist or is not writable&#8221;<br />
fi; \<br />
done</p>
<p>rm -f ~/.gnome2/temp_move_list<br />
#!/bin/bash<br />
for arg; do<br />
chmod u+x &#8212; &#8220;$arg&#8221;<br />
done<br />
#!/bin/bash</p>
<p>#Autore script: Mattia Castiglione<br />
#Sito: <a href="http://c2asr.altervista.org" rel="nofollow">http://c2asr.altervista.org</a><br />
#Codice ipext preso da <a href="http://gnome-look.org/content/show.php/conky+meet+faenza?content=133086&#038;PHPSESSID=5079a66bbea4381783f1927de73db023" rel="nofollow">http://gnome-look.org/content/show.php/conky+meet+faenza?content=133086&#038;PHPSESSID=5079a66bbea4381783f1927de73db023</a></p>
<p>ipext=$(wget <a href="http://checkip.dyndns.org/" rel="nofollow">http://checkip.dyndns.org/</a> -q -O &#8211; |grep -Eo &#8216;\&lt;[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\&gt;&#8217;);</p>
<p>porta=$(zenity &#8211;entry &#8211;text &#8220;Scrivere la porta del server (default: 8000)&#8221; &#8211;entry-text &#8220;8000&#8243;);</p>
<p>exec xterm -T &#8220;Log server HTTP&#8221; -e python -m SimpleHTTPServer $porta &amp; zenity &#8211;question &#8211;text &#8220;Server HTTP attivato con successo!\nIndirizzo interno: <a href="http://localhost:$porta" rel="nofollow">http://localhost:$porta</a>\nIndirizzo esterno: <a href="http://$ipext:$porta" rel="nofollow">http://$ipext:$porta</a>\nCLICCARE SI-NO PER DISABILITARE ILSERVER&#8221;</p>
<p>if [ $? -eq 0]<br />
then<br />
pkill xterm<br />
else<br />
pkill xterm<br />
fi</p>
<br />Filed under: <a href='http://ugone.wordpress.com/category/linux/bash/'>bash</a>, <a href='http://ugone.wordpress.com/category/linux/'>LINUX</a>, <a href='http://ugone.wordpress.com/category/linux/terminale/'>terminale</a>, <a href='http://ugone.wordpress.com/category/linux/trucchi/'>trucchi</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ugone.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ugone.wordpress.com/286/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ugone.wordpress.com&#038;blog=778689&#038;post=286&#038;subd=ugone&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ugone.wordpress.com/2012/01/15/raccolta-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0047433c21434ce5b0cb14548cb90da2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ugone</media:title>
		</media:content>
	</item>
		<item>
		<title>creare una cartella usando come nome la data</title>
		<link>http://ugone.wordpress.com/2012/01/14/creare-una-cartella-usando-come-nome-la-data/</link>
		<comments>http://ugone.wordpress.com/2012/01/14/creare-una-cartella-usando-come-nome-la-data/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 19:11:36 +0000</pubDate>
		<dc:creator>ugone</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[cartella]]></category>
		<category><![CDATA[script bash]]></category>
		<category><![CDATA[scripts]]></category>

		<guid isPermaLink="false">http://ugone.wordpress.com/?p=283</guid>
		<description><![CDATA[Creare cartelle che come nome usano la data attuale<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ugone.wordpress.com&#038;blog=778689&#038;post=283&#038;subd=ugone&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Mi capita abbastanza spesso di aver bisogno di creare cartelle con nomi univoci in una cartella che ne contiene moltissime altre.</p>
<p>A volte metto nomi tipo dajgferzsxgdnkfd ma dopo 5 minuti non so + come si chiamava.</p>
<p>Grazie ad un grande amico (e mio fornitore personale di script bash) ho risolto brillantemente il problema</p>
<p>basta creare uno scriptino con scritto</p>
<p>#!/bin/bash<br />
mkdir &#8220;`date +%Y_%m_%d__%H_%M_%S`&#8221;</p>
<p>e salvarlo,renderlo eseguibile e metterlo nella cartella    ~/.gnome2/nautilus-scripts</p>
<p>poi basta un semplice click destro dove serve  <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Grazie Enri</p>
<br />Filed under: <a href='http://ugone.wordpress.com/category/linux/bash/'>bash</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ugone.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ugone.wordpress.com/283/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ugone.wordpress.com&#038;blog=778689&#038;post=283&#038;subd=ugone&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ugone.wordpress.com/2012/01/14/creare-una-cartella-usando-come-nome-la-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0047433c21434ce5b0cb14548cb90da2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ugone</media:title>
		</media:content>
	</item>
		<item>
		<title>yad e l&#8217;md5 di una cartella</title>
		<link>http://ugone.wordpress.com/2011/11/14/yad-e-lmd5-di-una-cartella/</link>
		<comments>http://ugone.wordpress.com/2011/11/14/yad-e-lmd5-di-una-cartella/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 23:01:19 +0000</pubDate>
		<dc:creator>ugone</dc:creator>
				<category><![CDATA[LINUX]]></category>

		<guid isPermaLink="false">http://ugone.wordpress.com/?p=274</guid>
		<description><![CDATA[Calcolare l'md5 di una cartella(graficamente)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ugone.wordpress.com&#038;blog=778689&#038;post=274&#038;subd=ugone&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Può capitare di dover fare l&#8217;md5 di una cartella per vari motivi , ma, se per calcolare l&#8217;md5 di uno o più file è facilissimo (md5sum * dato in una cartella da per risultato l&#8217;md5 di tutti i file contenuti )  ci sono anche parecchi programmi che lo fanno graficamente,uno per tutti gtkhash (<a href="http://gtkhash.sourceforge.net/" rel="nofollow">http://gtkhash.sourceforge.net/</a>) , per fare l&#8217;md5 di una dir ci vuole un piccolo trucco.</p>
<p>Bisogna usare find</p>
<p>Prerequisiti</p>
<p>occorre installare yad</p>
<p><a href="http://code.google.com/p/yad/" rel="nofollow">http://code.google.com/p/yad/</a></p>
<p>si puo gia trovare compilato qui<br />
<a href="http://slavino.sk/ulozisko-apt" rel="nofollow">http://slavino.sk/ulozisko-apt</a> (a oggi l&#8217;ultimo pacchetto è</p>
<p><a href="http://debs.slavino.sk/pool/main/y/yad/yad_0.15.1-1_i386.deb" rel="nofollow">http://debs.slavino.sk/pool/main/y/yad/yad_0.15.1-1_i386.deb</a></p>
<p>il codice è il seguente</p>
<pre>#!/bin/bash
 ddove=$(yad --file --directory --width=800 --height=600) ## imposta la cartella
 if [ $? == 0 ]; then  ## ciclo di controllo che fa uscire se non viene impostata la cartella
 risul1=$(find $ddove/ -type f -exec cat {} \; | md5sum )  ## calolo md5
 yad --image "dialog-label" --title "Risultato" --button=gtk-yes:0 --button=gtk-no:1 --text  "$risul1" --selectable-labels  ## fa vedere il risultato
 fi

lo script  poi lo potete anche mettere nella cartella script di nautilus (~/.gnome2/nautilus-scripts)

Un grande grazie a Frafra per il suo aiuto</pre>
<br />Filed under: <a href='http://ugone.wordpress.com/category/linux/'>LINUX</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ugone.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ugone.wordpress.com/274/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ugone.wordpress.com&#038;blog=778689&#038;post=274&#038;subd=ugone&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ugone.wordpress.com/2011/11/14/yad-e-lmd5-di-una-cartella/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0047433c21434ce5b0cb14548cb90da2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ugone</media:title>
		</media:content>
	</item>
		<item>
		<title>Creare un indice di tutti i file di una cartella</title>
		<link>http://ugone.wordpress.com/2011/10/27/creare-un-indice-di-tutti-i-file-di-una-cartella/</link>
		<comments>http://ugone.wordpress.com/2011/10/27/creare-un-indice-di-tutti-i-file-di-una-cartella/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 12:34:52 +0000</pubDate>
		<dc:creator>ugone</dc:creator>
				<category><![CDATA[LINUX]]></category>

		<guid isPermaLink="false">http://ugone.wordpress.com/?p=269</guid>
		<description><![CDATA[Spesso capita di dover avere un elenco dei file presenti in una cartella. Un sistema molto pratico è aprire firefox  e nella barra degli indirizzi scrivere file:///home/utente/Scrivania/ e dare invio (in questo caso, ovviamente, si listeranno i file della scrivania. Aggiustare l&#8217;indirizzo per arrivare alla cartella necessaria ) Se serve salvare la pagina contenente i [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ugone.wordpress.com&#038;blog=778689&#038;post=269&#038;subd=ugone&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Spesso capita di dover avere un elenco dei file presenti in una cartella.<br />
Un sistema molto pratico è aprire firefox  e nella barra degli indirizzi scrivere<br />
file:///home/utente/Scrivania/ e dare invio (in questo caso, ovviamente, si listeranno i file della scrivania. Aggiustare l&#8217;indirizzo per arrivare alla cartella necessaria )<br />
Se serve salvare la pagina contenente i link basta semplicemente fare firefox/File/ salva pagina con nome (oppure premere ctrl+s)</p>
<br />Filed under: <a href='http://ugone.wordpress.com/category/linux/'>LINUX</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ugone.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ugone.wordpress.com/269/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ugone.wordpress.com&#038;blog=778689&#038;post=269&#038;subd=ugone&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ugone.wordpress.com/2011/10/27/creare-un-indice-di-tutti-i-file-di-una-cartella/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0047433c21434ce5b0cb14548cb90da2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ugone</media:title>
		</media:content>
	</item>
		<item>
		<title>Un piccolo video su autocompletamento e md5 nel terminale</title>
		<link>http://ugone.wordpress.com/2011/08/08/un-piccolo-video-su-autocompletamento-e-md5-nel-terminale/</link>
		<comments>http://ugone.wordpress.com/2011/08/08/un-piccolo-video-su-autocompletamento-e-md5-nel-terminale/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 16:21:32 +0000</pubDate>
		<dc:creator>ugone</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[terminale]]></category>

		<guid isPermaLink="false">http://ugone.wordpress.com/?p=260</guid>
		<description><![CDATA[Piccolo video sull' autocompletamento del terminale ed il calcolo dell'md5 di un file<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ugone.wordpress.com&#038;blog=778689&#038;post=260&#038;subd=ugone&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Mi capita  ogni tanto di dover spiegare cosa è l&#8217;autocompletamento  e come si calcola l&#8217;md5 di un file.<br />
Per cui ho fatto questo  minivideo in cui cerco di spiegarlo.</p>
<p>Spero vi possa interessare</p>
<div class="embed-vimeo"><iframe src="http://player.vimeo.com/video/27413151?title=1&amp;byline=1&amp;portrait=1" width="450" height="360" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div>
<br />Filed under: <a href='http://ugone.wordpress.com/category/linux/'>LINUX</a>, <a href='http://ugone.wordpress.com/category/linux/terminale/'>terminale</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ugone.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ugone.wordpress.com/260/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ugone.wordpress.com&#038;blog=778689&#038;post=260&#038;subd=ugone&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ugone.wordpress.com/2011/08/08/un-piccolo-video-su-autocompletamento-e-md5-nel-terminale/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0047433c21434ce5b0cb14548cb90da2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ugone</media:title>
		</media:content>
	</item>
		<item>
		<title>Piccolo trucco per una buona password</title>
		<link>http://ugone.wordpress.com/2011/07/15/piccolo-trucco-per-una-buona-password/</link>
		<comments>http://ugone.wordpress.com/2011/07/15/piccolo-trucco-per-una-buona-password/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 22:09:11 +0000</pubDate>
		<dc:creator>ugone</dc:creator>
				<category><![CDATA[LINUX]]></category>

		<guid isPermaLink="false">http://ugone.wordpress.com/?p=254</guid>
		<description><![CDATA[Uno dei componenti più importanti per la sicurezza del nostro amato sistema  è una buona password. La password potrebbe essere una frase lunghetta tutta attaccata ad esempio ciaomammabella123 ma cosi ad occhio anche se non ho dati esatti un attacco bruteforce dovrebbe bucarla in tempi ragionevoli. Potremmo sostituire ad esempio la i con 1 la [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ugone.wordpress.com&#038;blog=778689&#038;post=254&#038;subd=ugone&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Uno dei componenti più importanti per la sicurezza del nostro amato sistema  è una buona password.</p>
<p>La password potrebbe essere una frase lunghetta tutta attaccata</p>
<p>ad esempio <strong>ciaomammabella123</strong> ma cosi ad occhio anche se non ho dati esatti un attacco bruteforce dovrebbe bucarla in tempi ragionevoli.</p>
<p>Potremmo sostituire ad esempio la i con 1 la a con 4 la o con 0 e la e con 3</p>
<p>Ma c&#8217;è un sistema  migliore per renderla sicura.</p>
<p>Che ne dite  ad esempio di questa password <strong>¢→æøµæµµæ”€łłæ</strong>¹²³</p>
<p>oppure di questa ©ıÆØºÆººÆ’¢ŁŁÆ¡</p>
<p>Vi chiederete ma come faccio a ricordarmi una password del genere? semplicissimo sotto gnulinux vi basta digitare ciaomammabella123 tenendo premuto il tasto Alt Gr nel primo caso e Alt Gr + Shift nel secondo.</p>
<p>NOTARE BENE</p>
<p>il trucco è testato sotto ubuntu  ed è valido solo con lingua italiana e tastiera italiana. Se mettete la password  con una tastiera impostata su una lingua diversa ovviamente avrete poi una pass diversa. Oppure se vi  loggate al sistema con una lingua e poi cambiate impostazioni di tastiera la password cambia.</p>
<p>Prima di cambiare la password di sistema fate alcune prove con gedit o con un&#8217;altro editor di testo in modo da rendervi conto</p>
<br />Filed under: <a href='http://ugone.wordpress.com/category/linux/'>LINUX</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ugone.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ugone.wordpress.com/254/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ugone.wordpress.com&#038;blog=778689&#038;post=254&#038;subd=ugone&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ugone.wordpress.com/2011/07/15/piccolo-trucco-per-una-buona-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0047433c21434ce5b0cb14548cb90da2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ugone</media:title>
		</media:content>
	</item>
		<item>
		<title>Email</title>
		<link>http://ugone.wordpress.com/2011/07/02/email/</link>
		<comments>http://ugone.wordpress.com/2011/07/02/email/#comments</comments>
		<pubDate>Sat, 02 Jul 2011 07:36:58 +0000</pubDate>
		<dc:creator>ugone</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[email]]></category>

		<guid isPermaLink="false">http://ugone.wordpress.com/?p=247</guid>
		<description><![CDATA[Vari modi in cui vengono visualizzate le mail in transito su internet<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ugone.wordpress.com&#038;blog=778689&#038;post=247&#038;subd=ugone&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Ci sono molte cose che al pc facciamo in modo quasi automatico senza sapere esattamente cosa implica il fatto di averle fatte.</p>
<p>Una di queste azioni è l&#8217;invio di una email.</p>
<p>Tanto per incominciare, normalmente, l&#8217;email viaggia tra il mio pc ed il pc di destinazione in chiaro.</p>
<p>Questo vuol dire che chiunque ha accesso al flusso dati tra me e la destinazione puo tranquillamente leggere il contenuto (se lo lascio in chiaro)</p>
<p>E visto che la pratica val più della grammatica qui di seguito ci sono tre esempi di mail</p>
<p>il primo è la classica email in chiaro che tutti usiamo</p>
<p>il secondo è una mail firmata con enigmail</p>
<p>e il terzo è una mail criptata e firmata sempre con enigmail.</p>
<blockquote>
<p lang="it-IT">EMAIL 1 in chiaro</p>
<p lang="it-IT">il testo della mail è</p>
<p lang="it-IT">mail in chiaro</p>
<p lang="it-IT">
</blockquote>
<p>Quello che vedi normalmente con un client di posta (ad esempio thunderbird)</p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Oggetto: test mail in chiaro </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Mittente: abcdefghi &lt;abcdefghi@celica.it&gt; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Data: Thu, 17 Mar 2011 00:20:49 +0100 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">A: &#8220;abcdefghi@gmail.com&#8221; &lt;abcdefghi@gmail.com&gt; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">mail in chiaro </span></span></p>
<p>Quello che realmente passa su internet tra il vostro pc e quello del destinatario ed è visibile a chiunque abbia accesso ai vari server o comunque al flusso dati</p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">X-Account-Key: account5 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">X-UIDL: GmailId12ec0f8beb4d4047 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">X-Mozilla-Status: 0001 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">X-Mozilla-Status2: 00000000 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">X-Mozilla-Keys: </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Delivered-To: abcdefghi@gmail.com </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Received: by 10.42.87.147 with SMTP id y19cs795icl; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Wed, 16 Mar 2011 16:20:52 -0700 (PDT) </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Received: by 10.227.53.73 with SMTP id l9mr602928wbg.19.1300317650614; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Wed, 16 Mar 2011 16:20:50 -0700 (PDT) </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Return-Path: &lt;abcdefghi@celica.it&gt; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Received: from smtp206.celica.it (smtp206.celica.it [82.57.200.102]) </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">by mx.google.com with ESMTP id h26si889347wbc.63.2011.03.16.16.20.50; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Wed, 16 Mar 2011 16:20:50 -0700 (PDT) </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Received-SPF: pass (google.com: best guess record for domain of abcdefghi@celica.it designates 82.57.200.102 as permitted sender) client-ip=82.57.200.102; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of abcdefghi@celica.it designates 82.57.200.102 as permitted sender) smtp.mail=abcdefghi@celica.it </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Received: from [192.168.0.2] (95.244.193.145) by smtp206.celica.it (8.5.124.08) </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">id 4D49918D03A7BEA0 for abcdefghi@gmail.com; Thu, 17 Mar 2011 00:20:50 +0100 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Message-ID: &lt;4D8145D1.40803@celica.it&gt; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Date: Thu, 17 Mar 2011 00:20:49 +0100 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">From: abcdefghi &lt;abcdefghi@celica.it&gt; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">MIME-Version: 1.0 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">To: &#8220;abcdefghi@gmail.com&#8221; &lt;abcdefghi@gmail.com&gt; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Subject: test mail in chiaro </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">X-Enigmail-Version: 1.1.1 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Content-Type: text/plain; charset=UTF-8 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Content-Transfer-Encoding: 7bit </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">mail in chiaro </span></span></p>
<p>La mail in chiaro può esser modificata da chiunque possa aver accesso ai dati</p>
<blockquote>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">EMAIL FIRMATA </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">il testo della mail è </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">mail firmata </span></span></p>
</blockquote>
<p>Nel caso della mail firmata con enigmail la mail viaggia lo stesso in chiaro ma NON può esser modificata dopo l&#8217;uscita dal vostro pc. Qualunque variazione rende la firma non valida</p>
<p>Quello che vedi normalmente con un client di posta (ad esempio thunderbird)</p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Oggetto: test mail firmata </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Mittente: abcdefghi &lt;abcdefghi@celica.it&gt; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Data: Thu, 17 Mar 2011 00:37:04 +0100 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">A: &#8220;abcdefghi@gmail.com&#8221; &lt;abcdefghi@gmail.com&gt; </span></span></p>
<p lang="it-IT">&#8212;&#8211;<span style="font-family:Times New Roman;"><span style="font-size:x-small;">BEGIN PGP SIGNED MESSAGE&#8212;&#8211; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Hash: SHA1 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">mail firmata </span></span></p>
<p lang="it-IT">&#8212;&#8211;<span style="font-family:Times New Roman;"><span style="font-size:x-small;">BEGIN PGP SIGNATURE&#8212;&#8211; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Version: GnuPG v1.4.10 (GNU/Linux) </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Comment: Using GnuPG with Mozilla &#8211; <a href="http://enigmail.mozdev.org/" rel="nofollow">http://enigmail.mozdev.org/</a> </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">iEYEARECAAYFAk2BSZEACgkQ8NeYxMX3+DT+/QCfQCn/M9i/tAYfAuxnMlKiMdfA </span></span></p>
<p lang="it-IT">4<span style="font-family:Times New Roman;"><span style="font-size:x-small;">GsAnjmUCYwqNCo0pWrKCQlSezHpBOH/ </span></span></p>
<p lang="it-IT">=<span style="font-family:Times New Roman;"><span style="font-size:x-small;">M/7R </span></span></p>
<p lang="it-IT">&#8212;&#8211;<span style="font-family:Times New Roman;"><span style="font-size:x-small;">END PGP SIGNATURE&#8212;&#8211; </span></span></p>
<p>Quello che realmente passa su internet tra il vostro pc e quello del destinatario ed è visibile a chiunque abbia accesso ai vari server o comunque al flusso dati</p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">X-Account-Key: account5 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">X-UIDL: GmailId12ec1079f7b6d546 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">X-Mozilla-Status: 0001 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">X-Mozilla-Status2: 00000000 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">X-Mozilla-Keys: </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Delivered-To: abcdefghi@gmail.com </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Received: by 10.42.87.147 with SMTP id y19cs1078icl; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Wed, 16 Mar 2011 16:37:06 -0700 (PDT) </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Received: by 10.227.150.90 with SMTP id x26mr629007wbv.17.1300318625684; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Wed, 16 Mar 2011 16:37:05 -0700 (PDT) </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Return-Path: &lt;abcdefghi@celica.it&gt; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Received: from smtp208.celica.it (smtp208.celica.it [82.57.200.104]) </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">by mx.google.com with ESMTP id r9si905905wbh.88.2011.03.16.16.37.05; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Wed, 16 Mar 2011 16:37:05 -0700 (PDT) </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Received-SPF: pass (google.com: best guess record for domain of abcdefghi@celica.it designates 82.57.200.104 as permitted sender) client-ip=82.57.200.104; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of abcdefghi@celica.it designates 82.57.200.104 as permitted sender) smtp.mail=abcdefghi@celica.it </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Received: from [192.168.0.2] (95.244.193.145) by smtp208.celica.it (8.5.124.08) </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">id 4C1A271614A5EEA1 for abcdefghi@gmail.com; Thu, 17 Mar 2011 00:37:05 +0100 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Message-ID: &lt;4D8149A0.70903@celica.it&gt; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Date: Thu, 17 Mar 2011 00:37:04 +0100 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">From: abcdefghi &lt;abcdefghi@celica.it&gt; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">MIME-Version: 1.0 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">To: &#8220;abcdefghi@gmail.com&#8221; &lt;abcdefghi@gmail.com&gt; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Subject: test mail firmata </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">X-Enigmail-Version: 1.1.1 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Content-Type: text/plain; charset=UTF-8 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Content-Transfer-Encoding: 7bit </span></span></p>
<p lang="it-IT">&#8212;&#8211;<span style="font-family:Times New Roman;"><span style="font-size:x-small;">BEGIN PGP SIGNED MESSAGE&#8212;&#8211; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Hash: SHA1 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">mail firmata </span></span></p>
<p lang="it-IT">&#8212;&#8211;<span style="font-family:Times New Roman;"><span style="font-size:x-small;">BEGIN PGP SIGNATURE&#8212;&#8211; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Version: GnuPG v1.4.10 (GNU/Linux) </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Comment: Using GnuPG with Mozilla &#8211; <a href="http://enigmail.mozdev.org/" rel="nofollow">http://enigmail.mozdev.org/</a> </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">iEYEARECAAYFAk2BSZEACgkQ8NeYxMX3+DT+/QCfQCn/M9i/tAYfAuxnMlKiMdfA </span></span></p>
<p lang="it-IT">4<span style="font-family:Times New Roman;"><span style="font-size:x-small;">GsAnjmUCYwqNCo0pWrKCQlSezHpBOH/ </span></span></p>
<p lang="it-IT">=<span style="font-family:Times New Roman;"><span style="font-size:x-small;">M/7R </span></span></p>
<p lang="it-IT">&#8212;&#8211;<span style="font-family:Times New Roman;"><span style="font-size:x-small;">END PGP SIGNATURE&#8212;&#8211; </span></span></p>
<blockquote>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">EMAIL FIRMATA E CRIPTATA </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">il testo della mail è </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">mail criptata </span></span></p>
</blockquote>
<p>Nel seguente caso la mail è firmata e criptata. Ogni variazione nella mail rende la chiave non valida</p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Oggetto: test mail criptata e firmata </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Mittente: abcdefghi &lt;abcdefghi@celica.it&gt; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Data: Thu, 17 Mar 2011 00:38:19 +0100 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">A: &#8220;abcdefghi@gmail.com&#8221; &lt;abcdefghi@gmail.com&gt; </span></span></p>
<p lang="it-IT">&#8212;&#8211;<span style="font-family:Times New Roman;"><span style="font-size:x-small;">BEGIN PGP MESSAGE&#8212;&#8211; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Charset: UTF-8 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Version: GnuPG v1.4.10 (GNU/Linux) </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Comment: Using GnuPG with Mozilla &#8211; <a href="http://enigmail.mozdev.org/" rel="nofollow">http://enigmail.mozdev.org/</a> </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">hQEMA8oYnDQxWlYJAQf/auJ9cgAcN4uNRS6/jG9L2Kvdy4YKXLhWGqiI0VXYzTPU </span></span></p>
<p lang="it-IT">+<span style="font-family:Times New Roman;"><span style="font-size:x-small;">lR3jmSQZNm7vGGDw3IVa9mwH2oJh9fvsfb/SIpe0Tg8APk7ezoysuIV8GK6BH+u </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">r8GAmKlWywQMvDWmSv5yt46XC8izv67c6XMElgTht/1NEYwL4hAnYCVUMNIxHxwv </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">UrOTdbi0OAha5b+6rljvx+MHwB88HXLrKsC30sdsjT42q4YdSmgJByFRU//hkEin </span></span></p>
<p lang="it-IT">/8<span style="font-family:Times New Roman;"><span style="font-size:x-small;">kmkQ7+o6X2ga4+jiR6mi8g5DDm20dQQS4wPjcZopViQ7jqlYaYNM2QZW6ArtL4 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">hQ7u5ceF8lfZ0R9/Wy8L1botCTlOaQGy8y/vDlQ5yIUBDgPDElBqK/79yhAD/3Ka </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">cRpLkHqht/jEaujlfjfuWX2RHwwBj6/0RtqjEvxsbG9S3jESS0NXBLIyZPYh75DC </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">x6h8l1EP63F6mx2EWLxBRLV8GHQHilkf6bMTXZ6EjpTvKLfKtzTkbNsE1pL1HZFO </span></span></p>
<p lang="it-IT">4<span style="font-family:Times New Roman;"><span style="font-size:x-small;">Rjw5JzpcLZyDps7PnPkUHjzRZjFlexhDEe/AWpxA/9wdVW998Cr/8FJMHwNaRv2 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">YX4V+mkUxP01Q1tTeVfEellb+wljmoeC/gD6aaRSJQrJYrKRb/gWaClWuLcAh/oq </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">SLcnFscCRPtkhFS7/YuuD3dU4E/S7c8JAHgKXndYMetoT+UTEYWlZesKhubFwegd </span></span></p>
<p lang="it-IT">1+0<span style="font-family:Times New Roman;"><span style="font-size:x-small;">njwsmAN14hyAOy7pAmdKcAYWu1sR4JXFx+lJSoHnbX04i7VKmYgUKPFU1vB4h </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">rMJqXNUWTQR0QZvauqqVuDk/p1D2mcXW9cmPhSA0i2mC+qHyAstZkD3aPMJvCYgK </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">C2+4qHbqlPP5InYFSdW0Evjp/KM1YOE0t9/0hRnRicN6lk/72AkoQTHlvrzqGOQ0 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">miE4pVNu4DDqUWbiFR1JYfunH6qN7HFi1GBKjavd </span></span></p>
<p lang="it-IT">=<span style="font-family:Times New Roman;"><span style="font-size:x-small;">Ve2L </span></span></p>
<p lang="it-IT">&#8212;&#8211;<span style="font-family:Times New Roman;"><span style="font-size:x-small;">END PGP MESSAGE&#8212;&#8211; </span></span></p>
<p>Quello che realmente passa su internet tra il vostro pc e quello del destinatario ed è visibile a chiunque abbia accesso ai vari server o comunque al flusso dati</p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">X-Account-Key: account5 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">X-UIDL: GmailId12ec108c2455dc0d </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">X-Mozilla-Status: 0001 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">X-Mozilla-Status2: 00000000 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">X-Mozilla-Keys: </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Delivered-To: abcdefghi@gmail.com </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Received: by 10.42.87.147 with SMTP id y19cs1094icl; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Wed, 16 Mar 2011 16:38:20 -0700 (PDT) </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Received: by 10.227.195.75 with SMTP id eb11mr597979wbb.120.1300318700160; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Wed, 16 Mar 2011 16:38:20 -0700 (PDT) </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Return-Path: &lt;abcdefghi@celica.it&gt; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Received: from smtp205.celica.it (smtp205.celica.it [82.57.200.101]) </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">by mx.google.com with ESMTP id c8si899128wbi.107.2011.03.16.16.38.19; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Wed, 16 Mar 2011 16:38:20 -0700 (PDT) </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Received-SPF: pass (google.com: best guess record for domain of abcdefghi@celica.it designates 82.57.200.101 as permitted sender) client-ip=82.57.200.101; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of abcdefghi@celica.it designates 82.57.200.101 as permitted sender) smtp.mail=abcdefghi@celica.it </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Received: from [192.168.0.2] (95.244.193.145) by smtp205.celica.it (8.5.124.08) </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">id 4D0D003807A444FD for abcdefghi@gmail.com; Thu, 17 Mar 2011 00:38:19 +0100 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Message-ID: &lt;4D8149EB.2070208@celica.it&gt; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Date: Thu, 17 Mar 2011 00:38:19 +0100 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">From: abcdefghi &lt;abcdefghi@celica.it&gt; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">MIME-Version: 1.0 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">To: &#8220;abcdefghi@gmail.com&#8221; &lt;abcdefghi@gmail.com&gt; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Subject: test mail criptata e firmata </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">X-Enigmail-Version: 1.1.1 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Content-Type: text/plain; charset=UTF-8 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Content-Transfer-Encoding: 8bit </span></span></p>
<p lang="it-IT">&#8212;&#8211;<span style="font-family:Times New Roman;"><span style="font-size:x-small;">BEGIN PGP MESSAGE&#8212;&#8211; </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Charset: UTF-8 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Version: GnuPG v1.4.10 (GNU/Linux) </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">Comment: Using GnuPG with Mozilla &#8211; <a href="http://enigmail.mozdev.org/" rel="nofollow">http://enigmail.mozdev.org/</a> </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">hQEMA8oYnDQxWlYJAQf/auJ9cgAcN4uNRS6/jG9L2Kvdy4YKXLhWGqiI0VXYzTPU </span></span></p>
<p lang="it-IT">+<span style="font-family:Times New Roman;"><span style="font-size:x-small;">lR3jmSQZNm7vGGDw3IVa9mwH2oJh9fvsfb/SIpe0Tg8APk7ezoysuIV8GK6BH+u </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">r8GAmKlWywQMvDWmSv5yt46XC8izv67c6XMElgTht/1NEYwL4hAnYCVUMNIxHxwv </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">UrOTdbi0OAha5b+6rljvx+MHwB88HXLrKsC30sdsjT42q4YdSmgJByFRU//hkEin </span></span></p>
<p lang="it-IT">/8<span style="font-family:Times New Roman;"><span style="font-size:x-small;">kmkQ7+o6X2ga4+jiR6mi8g5DDm20dQQS4wPjcZopViQ7jqlYaYNM2QZW6ArtL4 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">hQ7u5ceF8lfZ0R9/Wy8L1botCTlOaQGy8y/vDlQ5yIUBDgPDElBqK/79yhAD/3Ka </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">cRpLkHqht/jEaujlfjfuWX2RHwwBj6/0RtqjEvxsbG9S3jESS0NXBLIyZPYh75DC </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">x6h8l1EP63F6mx2EWLxBRLV8GHQHilkf6bMTXZ6EjpTvKLfKtzTkbNsE1pL1HZFO </span></span></p>
<p lang="it-IT">4<span style="font-family:Times New Roman;"><span style="font-size:x-small;">Rjw5JzpcLZyDps7PnPkUHjzRZjFlexhDEe/AWpxA/9wdVW998Cr/8FJMHwNaRv2 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">YX4V+mkUxP01Q1tTeVfEellb+wljmoeC/gD6aaRSJQrJYrKRb/gWaClWuLcAh/oq </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">SLcnFscCRPtkhFS7/YuuD3dU4E/S7c8JAHgKXndYMetoT+UTEYWlZesKhubFwegd </span></span></p>
<p lang="it-IT">1+0<span style="font-family:Times New Roman;"><span style="font-size:x-small;">njwsmAN14hyAOy7pAmdKcAYWu1sR4JXFx+lJSoHnbX04i7VKmYgUKPFU1vB4h </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">rMJqXNUWTQR0QZvauqqVuDk/p1D2mcXW9cmPhSA0i2mC+qHyAstZkD3aPMJvCYgK </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">C2+4qHbqlPP5InYFSdW0Evjp/KM1YOE0t9/0hRnRicN6lk/72AkoQTHlvrzqGOQ0 </span></span></p>
<p lang="it-IT"><span style="font-family:Times New Roman;"><span style="font-size:x-small;">miE4pVNu4DDqUWbiFR1JYfunH6qN7HFi1GBKjavd </span></span></p>
<p lang="it-IT">=<span style="font-family:Times New Roman;"><span style="font-size:x-small;">Ve2L </span></span></p>
<p lang="it-IT">&#8212;&#8211;<span style="font-family:Times New Roman;"><span style="font-size:x-small;">END PGP MESSAGE&#8212;&#8211; </span></span></p>
<p lang="it-IT">Come potete vedere l&#8217;unico sistema che permette di far sapere qualcosa al destinatario senza lo sappia mezzo mondo è il terzo.</p>
<p lang="it-IT">Traetene le vostre conclusioni</p>
<p lang="it-IT">Piccola aggiunta</p>
<p lang="it-IT">giusto solo per ricordarlo</p>
<pre>se ricevi una mail e la vuoi inoltrare devi aggiungere degli altri
indirizzi ovviamente

se lasci il campo A: gli indirizzi saranno visibili a tutti quelli che
ricevono la mail

se metti cc: (vuol dire copia carbone) chi riceve la mail vedrà chi la
manda e a chi è stata mandata

se infine metti ccn:(vuol dire copia carbone nascosta) chi la riceve
vedrà scritto solo chi l'ha inviata e dove ci sono gli indirizzi di
destinazione vedrà solo scritto destinatari ignoti.

</pre>
<br />Filed under: <a href='http://ugone.wordpress.com/category/linux/'>LINUX</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ugone.wordpress.com/247/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ugone.wordpress.com/247/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ugone.wordpress.com&#038;blog=778689&#038;post=247&#038;subd=ugone&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ugone.wordpress.com/2011/07/02/email/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0047433c21434ce5b0cb14548cb90da2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ugone</media:title>
		</media:content>
	</item>
		<item>
		<title>Come salvare prima di formattare</title>
		<link>http://ugone.wordpress.com/2011/04/17/come-salvare-prima-di-formattare/</link>
		<comments>http://ugone.wordpress.com/2011/04/17/come-salvare-prima-di-formattare/#comments</comments>
		<pubDate>Sun, 17 Apr 2011 21:02:03 +0000</pubDate>
		<dc:creator>ugone</dc:creator>
				<category><![CDATA[Andora]]></category>
		<category><![CDATA[salvataggi]]></category>

		<guid isPermaLink="false">http://ugone.wordpress.com/2011/04/17/come-salvare-prima-di-formattare/</guid>
		<description><![CDATA[Formattare un hd vuol dire, ovviamente, cancellare tutti i dati presenti sopra. Cosa ovvia direte voi. Ma spesso, dopo averlo fatto, capita di ricordarsi che nella partizione cancellata avevamo quei dati che ora&#160; vi servono a tutti i costi oppure gli indirizzi di posta o i preferiti di internet o le pass di alcuni programmi. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ugone.wordpress.com&#038;blog=778689&#038;post=245&#038;subd=ugone&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Formattare un hd vuol dire, ovviamente, cancellare tutti i dati presenti sopra.</p>
<p>Cosa ovvia direte voi.</p>
<p>Ma spesso, dopo averlo fatto, capita di ricordarsi che nella partizione cancellata avevamo quei dati che ora&nbsp; vi servono a tutti i costi oppure gli indirizzi di posta o i preferiti di internet o le pass di alcuni programmi. Sono tutte cose perse.</p>
<p>A parte il tentare di recuperare i dati con testdisk, se non avete ancora scritto nulla sul disco, non credo vi rimanga molto da fare se non avete un buon backup o ancor meglio un clone della partizione.</p>
<p>Non parler&ograve; di come clonare l&#8217;hd.</p>
<p>La soluzione migliore che ho trovato &egrave; la seguente che vi fa una copia della home</p>
<p>sudo rsync -av &#8211;progress /home/utente/ /cartella/di/destinazione/backup/</p>
<p>impiegher&agrave; un po di tempo ma salvate tutto. Questo comando lo potete dare anche da live cd aggiustando opportuamente gli indirizzi</p>
<p>Se invece non volete salvare tutto , e qui lo fate a vostro rischio e pericolo, potete limitarvi&nbsp; a salvare le varie cartelle.</p>
<p>per questo basta un semplice cp -a /cartella/origine /cartella/destinazione</p>
<p>IMPORTANTE</p>
<p>con questo secondo sistema DOVETE salvarvi prima anche le eventuali cartelle nascoste che vi potessero poi servire</p>
<p>ad esempio .thunderbird , .mozilla, .xchat2 , .purple eccetera (nell&#8217;ordine sono cartella della posta di thunderbird, cartella di firefox ,cartella di xchat e cartella di pidgin)</p>
<p>o per lo meno SALVATEVI gli indirizzi di posta, i preferiti di internet, le password e in generale tutte le cose che potranno servirvi.</p>
<p>Ci sono anche parecchi tool che vi fanno un backup benone. mi vengono in mente tra i molti mondo, bacula, luckybackup ma i due comandi precedenti li avete gia installati sempre e fanno benissimo il loro lavoro</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />Filed under: <a href='http://ugone.wordpress.com/category/senza-categoria/andora/'>Andora</a>, <a href='http://ugone.wordpress.com/category/salvataggi/'>salvataggi</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ugone.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ugone.wordpress.com/245/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ugone.wordpress.com&#038;blog=778689&#038;post=245&#038;subd=ugone&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ugone.wordpress.com/2011/04/17/come-salvare-prima-di-formattare/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0047433c21434ce5b0cb14548cb90da2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ugone</media:title>
		</media:content>
	</item>
	</channel>
</rss>
