bristol@mailman.lug.org.uk
To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk
You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."
Today's Topics:
1. Re: Thanks for the accept. :) (Philip Hudson)
2. Re: Thanks for the accept. :) (Sebastian)
3. Auto Restarting script (Martin Moore)
4. Re: Auto Restarting script (David Smith)
5. Re: Auto Restarting script (Martin Moore)
6. Bulk Exif date insertion - Perl error (Peter Hemmings)
----------------------------------------------------------------------
Message: 1
Date: Wed, 5 Oct 2016 20:07:08 +0100
From: Philip Hudson <phil.hudson@iname.com>
To: Daniel Jones <djones9960@gmail.com>, Bristol and Bath Linux User
Group <bristol@mailman.lug.org.uk>
Cc: Sebastian <sebsebseb_mageia@gmx.com>
Subject: Re: [bristol] Thanks for the accept. :)
Message-ID:
<CAJ1MqVFqMmqqa9b8J6rLjt91NTgGV+=XohX3Y8u9D-Xu+EY6bA@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
On 5 October 2016 at 19:37, Daniel Jones via Bristol
<bristol@mailman.lug.org.uk> wrote:
> Later, while on a training course I got another taste of UNIX (XENIX,
> bizarrely)
Think I went on that same course, on another continent. Or maybe it
had become Netware Unix by then. Netware had something to do with it,
ISTR.
> where I got my (sick and twisted :) ) skills in vi.
Two modes: beep repeatedly, and break everything. :-)
--
Phil Hudson http://hudson-it.ddns.net
@UWascalWabbit PGP/GnuPG ID: 0x887DCA63
------------------------------
Message: 2
Date: Thu, 06 Oct 2016 07:56:57 +0100
From: Sebastian <sebsebseb_mageia@gmx.com>
To: <bristol@mailman.lug.org.uk>, <sebsebseb_mageia@gmx.com>
Subject: Re: [bristol] Thanks for the accept. :)
Message-ID: <6a4744dd-febe-493a-a238-4941fd168144@gmx.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Ok interesting story, but what about the event?
On Wednesday, 5 October 2016 19:37:45 BST, Daniel Jones via Bristol
<bristol@mailman.lug.org.uk> wrote:
> Hi
>
>>By the way Daniel, of interest what's your story with Linux etc, what
> distro/s do you use etc, how long for, and why?
>
> Hmmm. Well, my introduction to UNIX originally was at Coventry UNI where,
> primarily, I played a text MUD... (Yes, it was a while back now)
>
> Later, while on a training course I got another taste of UNIX (XENIX,
> bizarrely) where I got my (sick and twisted :) ) skills in vi.
>
> Anyway, I worked as an IT Manager for a while after that, I developed a
> management database in Access 95 and to be fair, when it wasn't failing for
> no reason, it actually ran really well (it was a small company in terms of
> IT (it is a construction firm) so scalability wasn't really an issue for
> years and years after that).
>
> But the failing for no reason went on. The straw that broke the camel's
> back was back when MS offered to upgrade Office Developer's Edition to the
> next version for all buyers of the previous version(I'd bought one
> personally) who bought after a set date, as long as they sent them proof.
> I did this, but because I couldn't prove it MY end (I'd already sent them
> the proof I did have, and they denied all knowledge), they basically
> shrugged their shoulders. 'Nothing you can do', they said, and refused to
> honour the upgrade. Those were the days of Microsoft hegemony, I guess.
>
> So I started looking for an alternative. I came across Linux, bizarrely,
> on the back of a copy of Computer Weekly in DPM's Diary. It was a sideways
> reference (as you'd expect) but it made me look into it.
>
> I must say though that I actually prefer to use Linux on the desktop to
> Windows. I can't pretend to have had much experience of the New
> Hegemony(Apple) though; although I expect MacOSX to be a flashy BSD with
> the interesting(to me) bits taken out.
>
> Anyway, now, <cough> years after reading the DPM article, I'm pretty much a
> full-time Linux Systems Engineer in Sunny Bristol. :)
>
> As to distro, my chosen distro (from which this is being written) is
> Debian, although I'm having to suffer(*) RH/CentOS as part of my job...
>
> Dan
> (*) I don't MIND RH, but... but...
>
> On 5 October 2016 at 13:59, Sebastian via Bristol <
> bristol@mailman.lug.org.uk> wrote:
>
>> Hi Daniel
>>
>> Welcome to the LUG list, welcome to the LUG in general even.
>>
>> Our next meet on Saturday October 22nd is actually an event, so don't go
>> to the usual pub that we meet up at in Temple Quay. Instead please feel
>> free to come along to another part of Bristol and join us at Cafe Kino in
>> Stokes Croft. That's a about 20 minute to half hour walk from Temple
>> Quay, and its a bit up the road as in the A38/Gloucester Road from the
>> bus station. The post code is BS1 3RU. On the left hand side
>> of the road
>> if going going that way, Cafe Kino is a bit further up in the
>> corner of a
>> side road. You go past a big venue where events can also happen etc
>> first, Hamilton House. In the unlikly situation that you get to the
>> Colstons girls school you have gone past it already, and gone
>> a little bit
>> to far.
>>
>> You are welcome to just come along and meet some of us at the event, but
>> the event is aimed at the generall public to try and get them
>> interested in
>> Linux and other open souce, and even Creative Commons music, movies, and
>> graphics to an extent, since its for Linux Presentation Day (
>> http://linux-presentation-day.org.uk ). More info on LUG website, or
>> venue website etc, but we also have a Facebook prescence that
>> could do with
>> more sharing, people rspving yes or putting that they are
>> interested. You
>> can get onto the Facebook event page from
>> http://facebook.com/LPDBristolUK
>>
>> Ideally still looking for helpers for this event, as well as people who
>> can generally help market/promote that the event is going to
>> be happening.
>> I also have 11am to mid day booked in, for organisers and helpers for
>> setting up, and to possibly let event visitors in a bit earlier. 6pm to
>> 7pm booked in as well, for possibly running it a bit later,
>> and clearing up
>> etc.
>>
>> People don't have to help out all day, but it would be good
>> to have a few
>> more all day helpers ideally.
>>
>> I also have a event flyer in two PDF versions A4 and A5, that I can send
>> people for own printing and distribution.
>>
>> By the way Daniel, of interest what's your story with Linux etc, what
>> distro/s do you use etc, how long for, and why?
>>
>> Best Regards
>>
>> Sebastian
>> P.S
>>
>> If you, or anyone else has any spare USB sticks we are looking for some (
>> ideally about 30 to 60) to give away Ubuntu 16.04 on at the event.
>>
>> On Wednesday, 5 October 2016 12:54:59 BST, Daniel Jones via Bristol <
>> bristol@mailman.lug.org.uk> wrote:
>>
>>> Hello
>>>
>>> I'm new in Bristol (I've just got a job down here, originally a
>>> Wolverhamptoner) but as of 17th of this month I'll be living at The Eye
>>> which is a stone's throw from where you meet.
>>>
>>> See you at the next neet (how will I recognise you? will you all be
>>> wearing
>>> Tux T-Shirts?)
>>>
>>>
>>
>>
>> --
>> Sent using Dekko from my Ubuntu device
>>
>> _______________________________________________
>> Bristol mailing list
>> Bristol@mailman.lug.org.uk
>> https://mailman.lug.org.uk/mailman/listinfo/bristol
>
>
>
>
--
Sent using Dekko from my Ubuntu device
------------------------------
Message: 3
Date: Thu, 06 Oct 2016 10:43:14 +0100
From: Martin Moore <martinm@it-helps.co.uk>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: [bristol] Auto Restarting script
Message-ID: <E8E4FCFA-1B70-4635-ADFA-610FD55C206E@it-helps.co.uk>
Content-Type: text/plain; charset="UTF-8"
I've got a java prog that starts via a bash script. For reasons outside my control, it sometimes needs stopping and restarting – I can check if this is necessary using a cron job.
So, how do I stop and restart the main script (from the cron task) ?
Cheers.
------------------------------
Message: 4
Date: Thu, 6 Oct 2016 09:50:50 +0000
From: David Smith <David.Smith@imgtec.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Auto Restarting script
Message-ID:
<15A9D35B5490FC49AC0524AE3A085F082FCAEC6C@HHMAIL01.hh.imgtec.org>
Content-Type: text/plain; charset="utf-8"
> -----Original Message-----
> From: Bristol [mailto:bristol-bounces@mailman.lug.org.uk] On Behalf Of
> Martin Moore via Bristol
> I've got a java prog that starts via a bash script. For reasons outside my
> control, it sometimes needs stopping and restarting – I can check if this is
> necessary using a cron job.
>
> So, how do I stop and restart the main script (from the cron task) ?
Surely your cron job can just call a bash script, which can then do whatever you want?
------------------------------
Message: 5
Date: Thu, 06 Oct 2016 11:08:17 +0100
From: Martin Moore <martinm@it-helps.co.uk>
To: David Smith <David.Smith@imgtec.com>, Bristol and Bath Linux User
Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Auto Restarting script
Message-ID: <20151A2B-12D2-4734-9BB7-E3A16CCC0CA5@it-helps.co.uk>
Content-Type: text/plain; charset="UTF-8"
Yes – but how do I stop the process?
On 06/10/2016, 10:50, "Bristol on behalf of David Smith via Bristol" <bristol-bounces@mailman.lug.org.uk on behalf of bristol@mailman.lug.org.uk> wrote:
> -----Original Message-----
> From: Bristol [mailto:bristol-bounces@mailman.lug.org.uk] On Behalf Of
> Martin Moore via Bristol
> I've got a java prog that starts via a bash script. For reasons outside my
> control, it sometimes needs stopping and restarting – I can check if this is
> necessary using a cron job.
>
> So, how do I stop and restart the main script (from the cron task) ?
Surely your cron job can just call a bash script, which can then do whatever you want?
_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol
------------------------------
Message: 6
Date: Thu, 6 Oct 2016 11:21:43 +0100
From: Peter Hemmings <peternsomerset@virginmedia.com>
To: BBLUG <Bristol@mailman.lug.org.uk>
Subject: [bristol] Bulk Exif date insertion - Perl error
Message-ID: <5de1a576-a400-8991-ebde-5c0ab602b83f@virginmedia.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Hi,
I have started to scan old transparencies onto my PC and have bulk
renamed them OK with "Thunar" file manager.
Before I import them I want to insert exif dates on groups of images.
I have been trying exiv2 with a perl script to bulk insert. It does seem
to work but throws up errors as the originator expected but I am curious
to know where the problem is and if I can eliminate it!
I know very little about perl but can get the idea of what the script does.
Can anyone enlighten me as to if the problem is with exiv2 or the script
and how I could make it work better?
References:
Actual Script:
#!/usr/bin/perl -w
#
# ADDING DATES TO SCANNED PHOTOS OR NEGATIVES
#
# Kim Briggs 2009-12 http://kimbriggs.com
#
# Script uses the exiv2 program http://www.exiv2.org/
# to add EXIF date and metadata to JPGS (and rename with new timestamp).
#
# Process ONE ROLL of film at a time (59 pics max).
# Numbering sequence is from NOON, i.e., 120100 to 125900.
#
# Reference of EXIF format: Date Taken: 2009:10:07 15:24:02
# ModifyDate=DateTime(EXIFspec)
# CreateDate=DateTimeDigitized(EXIFspec)
# DateTimeOriginal(ExifIFD)
# exiv2 -pt = print all the exif tags to screen
#
print "Enter Your Name: ";
chomp($my_name = <>);
print "Enter the Year(YYYY): ";
chomp($my_year = <>);
print "Enter the Month(MM): ";
chomp($my_month = <>);
print "Enter the Day(DD): ";
chomp($my_day = <>);
# Load all jpgs into an array. Use the same suffix for all files to
preserve your order.
# There will be an error message about the suffix you didn't use. Ignore it.
@pix = `ls *.JPG *.jpg`;
$my_count = 0;
foreach $pix (@pix) {
if ($my_count < 10) {$my_count="0$my_count";}
print "Processing photo: ".$pix;
# Use the program exiv2 to process EXIF metadata and rename the file
with timestamp
system("exiv2 -M'set Exif.Image.Artist $my_name $my_website' $pix");
system("exiv2 -M'set Exif.Image.Copyright Copyright $my_year $my_name.
All Rights Reserved.' $pix");
system("exiv2 -M'set Exif.Image.DateTime $my_year:$my_month:$my_day
12:$my_count:00' $pix");
system("exiv2 -M'set Exif.Photo.DateTimeOriginal
$my_year:$my_month:$my_day 12:$my_count:00' $pix");
system("exiv2 -M'set Exif.Photo.DateTimeDigitized
$my_year:$my_month:$my_day 12:$my_count:00' $pix");
# Comment out the line below with a "#" symbol to AVOID RENAMING the file.
system("exiv2 -r %Y_%m%d_%H%M%S $pix");
$my_count = int($my_count) + 1;
}
http://www.exiv2.org/
http://kimbriggs.com/computer/add-exif-date-scanned-photo-negative
FYI when its run, it first complains about "website'$pix" only occurring
once, then asks for name etc. then actuall runs and does the job OK.
So another question is where does it get "my_website $pix"!?
Thanks
--
Peter H
------------------------------
Subject: Digest Footer
_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol
------------------------------
End of Bristol Digest, Vol 664, Issue 4
***************************************
Tidak ada komentar:
Posting Komentar