User Tools

Site Tools


photography:scripts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

photography:scripts [2012/06/15 07:22] – created cedricphotography:scripts [2022/01/02 12:05] (current) cedric
Line 2: Line 2:
 ===== Find incoherence in your backups ===== ===== Find incoherence in your backups =====
 <code bash> <code bash>
-cedric@debian:~/multimedia$ find ./photographs/ -type f -exec sha1sum {} \; | sort > dir1_sha1 +~/multimedia$ find ./photographs/ -type f -exec sha1sum {} \; | sort > dir1_sha1 
-cedric@debian:~/multimedia$ cd /mnt/nas/ +~/multimedia$ cd /mnt/nas/ 
-cedric@debian:/mnt/nas$ find ./photographs/ -type f -exec sha1sum {} \; | sort > dir2_sha1 +/mnt/nas$ find ./photographs/ -type f -exec sha1sum {} \; | sort > dir2_sha1 
-cedric@debian:/mnt/nas$ diff --brief /home/cedric/multimedia/dir1_sha1 ./dir2_sha1+/mnt/nas$ diff --brief /home/cedric/multimedia/dir1_sha1 ./dir2_sha1
 </code> </code>
  
Line 177: Line 177:
  
 <code bash> <code bash>
-[cedric@localhost ~]$ convert 16-04-2008_0167.jpg -font Arial -pointsize 40 -draw "gravity south > fill black text 0,12 'Cédric Bonhomme' > fill white text 1,11 'Cédric Bonhomme' " wmark_text_drawn.jpg+$ convert 16-04-2008_0167.jpg -font Arial -pointsize 40 -draw "gravity south > fill black text 0,12 'Cédric Bonhomme' > fill white text 1,11 'Cédric Bonhomme' " wmark_text_drawn.jpg
 </code> </code>
  
Line 184: Line 184:
  
 <code bash> <code bash>
-convert picture.jpg -thumbnail 240 -bordercolor white -background black +polaroid picture-pola.png+convert picture.jpg -thumbnail 240 -bordercolor white -background black +polaroid picture-pola.png
 </code> </code>
photography/scripts.txt · Last modified: 2022/01/02 12:05 by cedric