Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Some more or less helpful scripts to manage my fotos

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README
A collection of scripts I have written since the time I started using a digital camera.

Source:		https://github.com/krid78/FotoScripts
Documentation:	none, yet
Wiki:		none, yet
Bug tracker:	http://github.com/krid78/FotoScripts/issues

Author:	Daniel Kriesten <krid@tu-chemnitz.eu>
License:	GPLv2


Files
=====

Rename_and_Order.sh*		Rename and oerder files
do-rsync.sh*			Wrapper for a rsync call
move_and_rename.workflow/	Finder workflow
move_pics_to_folders.sh*	move pics to folders
pics2folder.sh*			move pictures from given source folder to destination
				sorting into <year>/<year-month-day>/<yearmonthday>_<filename>
rename_IMG_2_Date.sh*		Rename img to have its exif-date in the name
rename_mp3.sh*			Rename mp3-files
rsync-command.txt*		txt to remember a rsync-command
sync-fotos.sh*			Sync fotos to a folder.
				The script also builds thumbnails of the fotos.
				It was originally intended to sync my pics to a online album.
sync-xmp2jpg.sh*		If using lightroom to edit xmp information of a RAW-file
				it's saved into a seperate file. The script syncs this info
				to the corresponding jpg-file.
Other Remarks
=============
this line removes pictures which exist twice. One is named with date and
time, the other one ist with date only. We want the one with date and
time, the other one gets removed.
for i in $(find 2011/2011-07* -name '*.jpg' ); do if [ -e ${i%%_*}_*_${i#*_} ] ; then echo -n "${i%%_*}_*_${i#*_} exists ... "; rm -vf ${i}; fi; done
for i in $(find 2011/2011-07* -name '*.CR2' ); do if [ -e ${i%%_*}_*_${i#*_} ] ; then echo -n "${i%%_*}_*_${i#*_} exists ... "; rm -vf ${i}; fi; done
Something went wrong with that request. Please try again.