diff options
author | Zeus Panchenko <zeus@camb.us> | 2006-06-06 14:33:51 +0000 |
---|---|---|
committer | Zeus Panchenko <zeus@camb.us> | 2006-06-06 14:33:51 +0000 |
commit | f14244858dafce04a457b5602bd4754da7b759fd (patch) | |
tree | 7fec4da6aec4cf86f1fc84e6a2ceb6191e36bf9d | |
parent | cf51629b02ae1f0b82ea6cb72a287f66f00a3e85 (diff) | |
download | renrot-f14244858dafce04a457b5602bd4754da7b759fd.tar.gz renrot-f14244858dafce04a457b5602bd4754da7b759fd.tar.bz2 |
Bug in aggregateFile() fixed (when symlinkk existed it was dieing).
rc file added by EXIF and GPS tags.
git-svn-id: file:///svnroot/renrot/trunk@184 fe2816f4-e837-0410-b10a-f608c9d244a1
-rwxr-xr-x | renrot | 7 | ||||
-rw-r--r-- | renrot.rc | 18 |
2 files changed, 24 insertions, 1 deletions
@@ -887,7 +887,12 @@ sub aggregateFile { my $symlink = "../../" . $file; if ($configOptions{'aggregation virtual'} != 0) { - symlink ($symlink, $newfilename) || ( fatalmsg ("While linking $file -> $newfilename\n"), die ); + if (not -l $newfilename) { + symlink ($symlink, $newfilename) || ( fatalmsg ("While linking $file -> $newfilename\n"), die ); + } + else { + procmsg ("Link $newfilename already exists\n"); + } } else { rename ($file, $newfilename) || ( fatalmsg ("$file -> $newfilename\n"), die ); @@ -56,6 +56,10 @@ # The commentary filename to put to Comment tag. Default is undefined. #TagFile = Comment: '/etc/renrot.comment' +# The file containing the copyright, if you prefer the copyright as +# string, than define it as Tag +#TagFile = Copyright [EXIF]: './copyright' + # The commentary to put to UserComment tag. Default is undefined. # (This option could be overriden by --user-comment parameter) #Tag = UserComment: 'User commentary here' @@ -70,5 +74,19 @@ #Tag = CreatorContactInfoCiTelWork [XMP]: 'Here Is Your Phone' #Tag = CreatorContactInfoCiUrlWork [XMP]: 'Here Is Your URL' +#Tag = Artist [EXIF]: 'Here Is Artist' +#Tag = ImageDescription [EXIF]: 'Here Is Image description' + +# GPS Tags (for more info, consult http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/GPS.html) +# sample is given for Donetsk,UA (the home city of the authors) +#Tag = GPSLatitudeRef [GPS]: 'N' # N for Noth and S for South +#Tag = GPSLatitude [GPS]: '48 00 00' # in form "%d %.2f %.2f" +#Tag = GPSLongitudeRef [GPS]: 'E' # E for East and W for West +#Tag = GPSLongitude [GPS]: '37 45 00' # in form "%d %.2f %.2f" +#Tag = GPSAltitude [GPS]: '300' # in form "%d" +#Tag = GPSDateStamp [GPS]: '' # in form "YYYY:MM:DD" +#Tag = GPSDateStamp [GPS]: '' # in form "HH MM SS" + + # You can add any known tag here in the following format: #Tag = KnownTagName [TagGroup]: 'Value of the tag' |