Administra tu Blog

¡Crea tu Blog Ya! Fácil y Gratis

Trasteando voy,trasteando vengo y por el camino yo me entretengo!!!

Categoría: Software Libre

02/01/2007 GMT 2

Script para convertir imagenes a 800x600 con imagemagick

jony @ 13:28

#!/bin/bash
if [ $# -eq 0 ]; then
echo 'Script para convertir las fotos de un directorio a 800X600';
echo 'deja el resultado en una carpeta llamada txikis';
echo 'Usage: ' $0 ' ';
else
cd $1;
mkdir txikis;
for file in *
#hacer para cada fichero del directorio
do
#convierte cada fichero del directorio y lo deja en txikis
#-resize 480001@ --> para que tenga tamaño 800X600 o 600X800 --> 480000 pixeles
#-quality 75 --> para rebajar la calidad y disminuir el tamaño
convert $file -resize 480001@ -quality 75 txikis/$file
done
fi

Montar carpetas de linux en varios sitios

jony @ 13:27

añadimos esto a /etc/fstab

/almacen/ii /home/user/ii auto rw,users,bind,auto 0 0

17/11/2006 GMT 2

Backup de Evolution

jony @ 00:46

bueno, acabo de mirar como hacer backup de evolution ...

de esta forma creo

http://ubuntu.wordpress.com/2005/12/03/how-to-backup-evolution/

How to Backup Evolution

December 3, 2005

Posted by ubuntonista in ubuntu, guides. trackback

From an old mailing list gem, I got the right method to back up your Evolution (mail + calendar + contacts) data the right way:

Step 1:

Shutdown evolution and gconftool-2:

$ gconftool-2 --shutdown

$evolution --force-shutdown

Step 2:

Create an archive with the data and configuration files:

Note: To completely save the Evolution data and configuration, you need to save the following directories/files:

1. ~/.evolution/

2. ~/.gconf/apps/evolution/

3. ~/.gnome2_private/Evolution

The following command will take care of these

$cd

$tar -cvzf evolution-backup.tar.gz .evolution .gconf/apps/evolution .gnome2_private/Evolution

Now the file evolution-backup.tar.gz is the backup you want. You can move the data over to another Ubuntu computer if you like, and just un-tar the archive while in your /home/username/ directory to restore it.

http://www.flevour.net/node/7

Export account from Evolution

Always wondered where Evolution stores your account data? Are you stuck in the need to move your 154-configured-evolution-accounts to a new box Did you pass last 7/8 hours grepping through all ~/evolution and ~/.evolution subdirs to find out?

Well, answer is as simple as looking at ~/.gconf/apps/evolution/mail/%gconf.xml.

Hope this helps some Google-before-asking users.

Cheers.

Archivo | ¡Crea tu Blog Ya! Fácil y Gratis