http://www.synology.com/deu/products/DS110j/index.php
http://www.linux-club.de/viewtopic.php?f=21&t=95003&start=0
for file in *.jpg
do
picdate="`exiftool -CreateDate -d \"%Y-%m-%d\" $file | cut -f2 -d: | tr -d ' '`"
if [ "$picdate" != "" ]
then
test -d $picdate || mkdir $picdate
cp $file $picdate/$file
fi
done
exiftool -CreateDate -d \"%Y-%m-%d\" $file
liefert:
======== ../Eigene Bilder/IMG_0302.JPG
Create Date : 2008-04
======== ../Eigene Bilder/kontext.JPG
darauf wird "cut -f2 -d:" angesetzt:
das liefert das 2.Feld nach dem Doppelpunkt-Trennzeichen: " 2008-04"
diese wird mit
tr -d ' '
von Leerzeichen gesäubert
Manual: http://www.manpagez.com/man/
Links
- Brentano: Märchen
- Filme 1
- Filme 2
- Friedrich Wilhelm Weber
- Gedichte
- Gerät: Canon Pixma MP640 Ubuntu 11.04
- Gerät: Router: TP-Link (TL-WR1043ND_V1)
- Gerät: Sony SLT-A37
- Gerät: Wander-Navi:
- Geschichte
- Geschichte: kuk
- Linux: CShell
- Linux: Rsync
- Linux: Script2
- Ort: Einkehr
- Ort: Landgasthaus Nolte
- Person: Franz Overbeck
- Person: Hilty
- Rezept: Gugelhupf
- Rosschlachterei
- Smartphone: Account
- Smartphone: Bedienung
- Smartphone: windowsphone
- Win 7 aktivieren
- firefox plugins
- owncloud: aus ct
- synology: Manual
- ubuntu: dvd
20.05.2010
Abonnieren
Kommentare zum Post (Atom)
Keine Kommentare:
Kommentar veröffentlichen